mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
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.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user