diff options
author | Peter Eisentraut | 2015-05-12 00:38:55 +0000 |
---|---|---|
committer | Peter Eisentraut | 2015-05-12 00:38:55 +0000 |
commit | d02f16470f117db3038dbfd87662d5f0eb5a2a9b (patch) | |
tree | 13057bb662f4b7ffeeae077a224dc61fdd5ea7a3 /contrib/postgres_fdw/postgres_fdw.c | |
parent | b488c580aef4e05f39be5daaab6464da5b22a494 (diff) |
Replace some appendStringInfo* calls with more appropriate variants
Author: David Rowley <[email protected]>
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r-- | contrib/postgres_fdw/postgres_fdw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index ec89b25f61..0c44260842 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -2734,7 +2734,7 @@ postgresImportForeignSchema(ImportForeignSchemaStmt *stmt, Oid serverOid) appendStringInfoString(&buf, ", "); deparseStringLiteral(&buf, rv->relname); } - appendStringInfoString(&buf, ")"); + appendStringInfoChar(&buf, ')'); } /* Append ORDER BY at the end of query to ensure output ordering */ @@ -2798,7 +2798,7 @@ postgresImportForeignSchema(ImportForeignSchemaStmt *stmt, Oid serverOid) */ appendStringInfoString(&buf, " OPTIONS (column_name "); deparseStringLiteral(&buf, attname); - appendStringInfoString(&buf, ")"); + appendStringInfoChar(&buf, ')'); /* Add COLLATE if needed */ if (import_collate && collname != NULL && collnamespace != NULL) |