1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Add missing support for new node fields

Commit b6fb534f added two new node fields but neglected to add copy and
comparison support for them, Mea culpa, should have checked for that.

per buildfarm animals with -DCOPY_PARSE_PLAN_TREES
This commit is contained in:
Andrew Dunstan
2017-03-20 21:50:53 -04:00
parent c709b113e8
commit 8bc40533d6
2 changed files with 4 additions and 0 deletions

View File

@ -3917,6 +3917,7 @@ _copyCreateForeignServerStmt(const CreateForeignServerStmt *from)
COPY_STRING_FIELD(version);
COPY_STRING_FIELD(fdwname);
COPY_NODE_FIELD(options);
COPY_SCALAR_FIELD(if_not_exists);
return newnode;
}
@ -3942,6 +3943,7 @@ _copyCreateUserMappingStmt(const CreateUserMappingStmt *from)
COPY_NODE_FIELD(user);
COPY_STRING_FIELD(servername);
COPY_NODE_FIELD(options);
COPY_SCALAR_FIELD(if_not_exists);
return newnode;
}