diff options
Diffstat (limited to 'src/backend/commands/comment.c')
-rw-r--r-- | src/backend/commands/comment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/comment.c b/src/backend/commands/comment.c index 2b9bf4d7723..c76912f332a 100644 --- a/src/backend/commands/comment.c +++ b/src/backend/commands/comment.c @@ -151,7 +151,7 @@ CreateComments(Oid oid, char *comment) } i = 0; values[i++] = ObjectIdGetDatum(oid); - values[i++] = (Datum) textin(comment); + values[i++] = DirectFunctionCall1(textin, CStringGetDatum(comment)); } /*** Now, open pg_description and attempt to find the old tuple ***/ |