Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita2dee32

Browse files
committed
Standardize nodes/*funcs.c cosmetics for ForeignScan.resultRelation.
catversion bump due to readfuncs.c field order change.
1 parent5c25fd6 commita2dee32

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎src/backend/nodes/copyfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,14 +775,14 @@ _copyForeignScan(const ForeignScan *from)
775775
* copy remainder of node
776776
*/
777777
COPY_SCALAR_FIELD(operation);
778+
COPY_SCALAR_FIELD(resultRelation);
778779
COPY_SCALAR_FIELD(fs_server);
779780
COPY_NODE_FIELD(fdw_exprs);
780781
COPY_NODE_FIELD(fdw_private);
781782
COPY_NODE_FIELD(fdw_scan_tlist);
782783
COPY_NODE_FIELD(fdw_recheck_quals);
783784
COPY_BITMAPSET_FIELD(fs_relids);
784785
COPY_SCALAR_FIELD(fsSystemCol);
785-
COPY_SCALAR_FIELD(resultRelation);
786786

787787
returnnewnode;
788788
}

‎src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -701,14 +701,14 @@ _outForeignScan(StringInfo str, const ForeignScan *node)
701701
_outScanInfo(str, (constScan*)node);
702702

703703
WRITE_ENUM_FIELD(operation,CmdType);
704+
WRITE_UINT_FIELD(resultRelation);
704705
WRITE_OID_FIELD(fs_server);
705706
WRITE_NODE_FIELD(fdw_exprs);
706707
WRITE_NODE_FIELD(fdw_private);
707708
WRITE_NODE_FIELD(fdw_scan_tlist);
708709
WRITE_NODE_FIELD(fdw_recheck_quals);
709710
WRITE_BITMAPSET_FIELD(fs_relids);
710711
WRITE_BOOL_FIELD(fsSystemCol);
711-
WRITE_INT_FIELD(resultRelation);
712712
}
713713

714714
staticvoid

‎src/backend/nodes/readfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,14 +2073,14 @@ _readForeignScan(void)
20732073
ReadCommonScan(&local_node->scan);
20742074

20752075
READ_ENUM_FIELD(operation,CmdType);
2076+
READ_UINT_FIELD(resultRelation);
20762077
READ_OID_FIELD(fs_server);
20772078
READ_NODE_FIELD(fdw_exprs);
20782079
READ_NODE_FIELD(fdw_private);
20792080
READ_NODE_FIELD(fdw_scan_tlist);
20802081
READ_NODE_FIELD(fdw_recheck_quals);
20812082
READ_BITMAPSET_FIELD(fs_relids);
20822083
READ_BOOL_FIELD(fsSystemCol);
2083-
READ_INT_FIELD(resultRelation);
20842084

20852085
READ_DONE();
20862086
}

‎src/include/catalog/catversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
*/
5454

5555
/*yyyymmddN */
56-
#defineCATALOG_VERSION_NO202106031
56+
#defineCATALOG_VERSION_NO202106061
5757

5858
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp