Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4230152

Browse files
committed
Fix COPY FROM deparse, forgotten comma for FORCE_NULL etc.
1 parent1950fab commit4230152

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
boolfirst= 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
boolfirst= 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)

[8]ページ先頭

©2009-2025 Movatter.jp