Standardize nodes/*funcs.c cosmetics for ForeignScan.resultRelation.
catversion bump due to readfuncs.c field order change.
This commit is contained in:
parent
5c25fd650a
commit
a2dee328bb
@ -775,6 +775,7 @@ _copyForeignScan(const ForeignScan *from)
|
|||||||
* copy remainder of node
|
* copy remainder of node
|
||||||
*/
|
*/
|
||||||
COPY_SCALAR_FIELD(operation);
|
COPY_SCALAR_FIELD(operation);
|
||||||
|
COPY_SCALAR_FIELD(resultRelation);
|
||||||
COPY_SCALAR_FIELD(fs_server);
|
COPY_SCALAR_FIELD(fs_server);
|
||||||
COPY_NODE_FIELD(fdw_exprs);
|
COPY_NODE_FIELD(fdw_exprs);
|
||||||
COPY_NODE_FIELD(fdw_private);
|
COPY_NODE_FIELD(fdw_private);
|
||||||
@ -782,7 +783,6 @@ _copyForeignScan(const ForeignScan *from)
|
|||||||
COPY_NODE_FIELD(fdw_recheck_quals);
|
COPY_NODE_FIELD(fdw_recheck_quals);
|
||||||
COPY_BITMAPSET_FIELD(fs_relids);
|
COPY_BITMAPSET_FIELD(fs_relids);
|
||||||
COPY_SCALAR_FIELD(fsSystemCol);
|
COPY_SCALAR_FIELD(fsSystemCol);
|
||||||
COPY_SCALAR_FIELD(resultRelation);
|
|
||||||
|
|
||||||
return newnode;
|
return newnode;
|
||||||
}
|
}
|
||||||
|
@ -701,6 +701,7 @@ _outForeignScan(StringInfo str, const ForeignScan *node)
|
|||||||
_outScanInfo(str, (const Scan *) node);
|
_outScanInfo(str, (const Scan *) node);
|
||||||
|
|
||||||
WRITE_ENUM_FIELD(operation, CmdType);
|
WRITE_ENUM_FIELD(operation, CmdType);
|
||||||
|
WRITE_UINT_FIELD(resultRelation);
|
||||||
WRITE_OID_FIELD(fs_server);
|
WRITE_OID_FIELD(fs_server);
|
||||||
WRITE_NODE_FIELD(fdw_exprs);
|
WRITE_NODE_FIELD(fdw_exprs);
|
||||||
WRITE_NODE_FIELD(fdw_private);
|
WRITE_NODE_FIELD(fdw_private);
|
||||||
@ -708,7 +709,6 @@ _outForeignScan(StringInfo str, const ForeignScan *node)
|
|||||||
WRITE_NODE_FIELD(fdw_recheck_quals);
|
WRITE_NODE_FIELD(fdw_recheck_quals);
|
||||||
WRITE_BITMAPSET_FIELD(fs_relids);
|
WRITE_BITMAPSET_FIELD(fs_relids);
|
||||||
WRITE_BOOL_FIELD(fsSystemCol);
|
WRITE_BOOL_FIELD(fsSystemCol);
|
||||||
WRITE_INT_FIELD(resultRelation);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -2073,6 +2073,7 @@ _readForeignScan(void)
|
|||||||
ReadCommonScan(&local_node->scan);
|
ReadCommonScan(&local_node->scan);
|
||||||
|
|
||||||
READ_ENUM_FIELD(operation, CmdType);
|
READ_ENUM_FIELD(operation, CmdType);
|
||||||
|
READ_UINT_FIELD(resultRelation);
|
||||||
READ_OID_FIELD(fs_server);
|
READ_OID_FIELD(fs_server);
|
||||||
READ_NODE_FIELD(fdw_exprs);
|
READ_NODE_FIELD(fdw_exprs);
|
||||||
READ_NODE_FIELD(fdw_private);
|
READ_NODE_FIELD(fdw_private);
|
||||||
@ -2080,7 +2081,6 @@ _readForeignScan(void)
|
|||||||
READ_NODE_FIELD(fdw_recheck_quals);
|
READ_NODE_FIELD(fdw_recheck_quals);
|
||||||
READ_BITMAPSET_FIELD(fs_relids);
|
READ_BITMAPSET_FIELD(fs_relids);
|
||||||
READ_BOOL_FIELD(fsSystemCol);
|
READ_BOOL_FIELD(fsSystemCol);
|
||||||
READ_INT_FIELD(resultRelation);
|
|
||||||
|
|
||||||
READ_DONE();
|
READ_DONE();
|
||||||
}
|
}
|
||||||
|
@ -53,6 +53,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/* yyyymmddN */
|
/* yyyymmddN */
|
||||||
#define CATALOG_VERSION_NO 202106031
|
#define CATALOG_VERSION_NO 202106061
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user