Content-Length: 272106 | pFad | http://github.com/postgrespro/postgres_cluster/commit/42301523e88bd6e46d20b87cbf113f3e8094dbdc

7D Fix COPY FROM deparse, forgotten comma for FORCE_NULL etc. · postgrespro/postgres_cluster@4230152 · GitHub
Skip to content

Commit 4230152

Browse files
committed
Fix COPY FROM deparse, forgotten comma for FORCE_NULL etc.
1 parent 1950fab commit 4230152

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/postgres_fdw/deparse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3229,7 +3229,7 @@ deparseCopyFromSql(StringInfo buf, Relation rel, CopyState cstate,
32293229
{
32303230
bool first = true;
32313231

3232-
appendStringInfoString(buf, " FORCE NOT NULL (");
3232+
appendStringInfoString(buf, ", FORCE_NOT_NULL (");
32333233
foreach(cur, cstate->force_notnull)
32343234
{
32353235
char *attname = strVal(lfirst(cur));
@@ -3246,7 +3246,7 @@ deparseCopyFromSql(StringInfo buf, Relation rel, CopyState cstate,
32463246
{
32473247
bool first = true;
32483248

3249-
appendStringInfoString(buf, " FORCE NULL (");
3249+
appendStringInfoString(buf, ", FORCE_NULL (");
32503250
foreach(cur, cstate->force_null)
32513251
{
32523252
char *attname = strVal(lfirst(cur));

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/42301523e88bd6e46d20b87cbf113f3e8094dbdc

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy