diff options
author | Noah Misch <noah@leadboat.com> | 2017-06-16 00:16:11 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2017-06-16 00:16:11 -0700 |
commit | 39ac55918fc31b9bf88185d28ebe7ddc58d01181 (patch) | |
tree | 60a07c903396ec9221c422219599ef985335579d /src/backend/nodes/copyfuncs.c | |
parent | c254970ad6092d201443cced570450d5b29d4234 (diff) | |
download | postgresql-39ac55918fc31b9bf88185d28ebe7ddc58d01181.tar.gz postgresql-39ac55918fc31b9bf88185d28ebe7ddc58d01181.zip |
Reconcile nodes/*funcs.c with PostgreSQL 10 work.
The _equalTableFunc() omission of coltypmods has semantic significance,
but I did not track down resulting user-visible bugs, if any. The other
changes are cosmetic only, affecting order. catversion bump due to
readfuncs.c field order change.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
-rw-r--r-- | src/backend/nodes/copyfuncs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 02451c2a713..67ac8145a0e 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -1222,8 +1222,8 @@ _copyTableFunc(const TableFunc *from) { TableFunc *newnode = makeNode(TableFunc); - COPY_NODE_FIELD(ns_names); COPY_NODE_FIELD(ns_uris); + COPY_NODE_FIELD(ns_names); COPY_NODE_FIELD(docexpr); COPY_NODE_FIELD(rowexpr); COPY_NODE_FIELD(colnames); @@ -4005,8 +4005,8 @@ _copyCreateForeignServerStmt(const CreateForeignServerStmt *from) COPY_STRING_FIELD(servertype); COPY_STRING_FIELD(version); COPY_STRING_FIELD(fdwname); - COPY_NODE_FIELD(options); COPY_SCALAR_FIELD(if_not_exists); + COPY_NODE_FIELD(options); return newnode; } @@ -4031,8 +4031,8 @@ _copyCreateUserMappingStmt(const CreateUserMappingStmt *from) COPY_NODE_FIELD(user); COPY_STRING_FIELD(servername); - COPY_NODE_FIELD(options); COPY_SCALAR_FIELD(if_not_exists); + COPY_NODE_FIELD(options); return newnode; } |