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

Commit8bc4053

Browse files
committed
Add missing support for new node fields
Commitb6fb534 added two new node fields but neglected to add copy andcomparison support for them, Mea culpa, should have checked for that.per buildfarm animals with -DCOPY_PARSE_PLAN_TREES
1 parentc709b11 commit8bc4053

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

‎src/backend/nodes/copyfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3917,6 +3917,7 @@ _copyCreateForeignServerStmt(const CreateForeignServerStmt *from)
39173917
COPY_STRING_FIELD(version);
39183918
COPY_STRING_FIELD(fdwname);
39193919
COPY_NODE_FIELD(options);
3920+
COPY_SCALAR_FIELD(if_not_exists);
39203921

39213922
returnnewnode;
39223923
}
@@ -3942,6 +3943,7 @@ _copyCreateUserMappingStmt(const CreateUserMappingStmt *from)
39423943
COPY_NODE_FIELD(user);
39433944
COPY_STRING_FIELD(servername);
39443945
COPY_NODE_FIELD(options);
3946+
COPY_SCALAR_FIELD(if_not_exists);
39453947

39463948
returnnewnode;
39473949
}

‎src/backend/nodes/equalfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,6 +1828,7 @@ _equalCreateForeignServerStmt(const CreateForeignServerStmt *a, const CreateFore
18281828
COMPARE_STRING_FIELD(version);
18291829
COMPARE_STRING_FIELD(fdwname);
18301830
COMPARE_NODE_FIELD(options);
1831+
COMPARE_SCALAR_FIELD(if_not_exists);
18311832

18321833
return true;
18331834
}
@@ -1849,6 +1850,7 @@ _equalCreateUserMappingStmt(const CreateUserMappingStmt *a, const CreateUserMapp
18491850
COMPARE_NODE_FIELD(user);
18501851
COMPARE_STRING_FIELD(servername);
18511852
COMPARE_NODE_FIELD(options);
1853+
COMPARE_SCALAR_FIELD(if_not_exists);
18521854

18531855
return true;
18541856
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp