Standardize nodes/*funcs.c cosmetics for ForeignScan.resultRelation.

catversion bump due to readfuncs.c field order change.
pull/64/merge
Noah Misch 5 years ago
parent 5c25fd650a
commit a2dee328bb
  1. 2
      src/backend/nodes/copyfuncs.c
  2. 2
      src/backend/nodes/outfuncs.c
  3. 2
      src/backend/nodes/readfuncs.c
  4. 2
      src/include/catalog/catversion.h

@ -775,6 +775,7 @@ _copyForeignScan(const ForeignScan *from)
* copy remainder of node
*/
COPY_SCALAR_FIELD(operation);
COPY_SCALAR_FIELD(resultRelation);
COPY_SCALAR_FIELD(fs_server);
COPY_NODE_FIELD(fdw_exprs);
COPY_NODE_FIELD(fdw_private);
@ -782,7 +783,6 @@ _copyForeignScan(const ForeignScan *from)
COPY_NODE_FIELD(fdw_recheck_quals);
COPY_BITMAPSET_FIELD(fs_relids);
COPY_SCALAR_FIELD(fsSystemCol);
COPY_SCALAR_FIELD(resultRelation);
return newnode;
}

@ -701,6 +701,7 @@ _outForeignScan(StringInfo str, const ForeignScan *node)
_outScanInfo(str, (const Scan *) node);
WRITE_ENUM_FIELD(operation, CmdType);
WRITE_UINT_FIELD(resultRelation);
WRITE_OID_FIELD(fs_server);
WRITE_NODE_FIELD(fdw_exprs);
WRITE_NODE_FIELD(fdw_private);
@ -708,7 +709,6 @@ _outForeignScan(StringInfo str, const ForeignScan *node)
WRITE_NODE_FIELD(fdw_recheck_quals);
WRITE_BITMAPSET_FIELD(fs_relids);
WRITE_BOOL_FIELD(fsSystemCol);
WRITE_INT_FIELD(resultRelation);
}
static void

@ -2073,6 +2073,7 @@ _readForeignScan(void)
ReadCommonScan(&local_node->scan);
READ_ENUM_FIELD(operation, CmdType);
READ_UINT_FIELD(resultRelation);
READ_OID_FIELD(fs_server);
READ_NODE_FIELD(fdw_exprs);
READ_NODE_FIELD(fdw_private);
@ -2080,7 +2081,6 @@ _readForeignScan(void)
READ_NODE_FIELD(fdw_recheck_quals);
READ_BITMAPSET_FIELD(fs_relids);
READ_BOOL_FIELD(fsSystemCol);
READ_INT_FIELD(resultRelation);
READ_DONE();
}

@ -53,6 +53,6 @@
*/
/* yyyymmddN */
#define CATALOG_VERSION_NO 202106031
#define CATALOG_VERSION_NO 202106061
#endif

Loading…
Cancel
Save