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

Commitb172342

Browse files
committed
Fix copy/out/readfuncs for accessMethod addition in8586bf7.
This includes a catversion bump, as IntoClause is theoreticallyspeaking part of storable rules. In practice I don't think that canhappen, but there's no reason to be stingy here.Per buildfarm member calliphoridae.
1 parent863aa55 commitb172342

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

‎src/backend/nodes/copyfuncs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,6 +1324,7 @@ _copyIntoClause(const IntoClause *from)
13241324

13251325
COPY_NODE_FIELD(rel);
13261326
COPY_NODE_FIELD(colNames);
1327+
COPY_STRING_FIELD(accessMethod);
13271328
COPY_NODE_FIELD(options);
13281329
COPY_SCALAR_FIELD(onCommit);
13291330
COPY_STRING_FIELD(tableSpaceName);

‎src/backend/nodes/outfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,6 +1043,7 @@ _outIntoClause(StringInfo str, const IntoClause *node)
10431043

10441044
WRITE_NODE_FIELD(rel);
10451045
WRITE_NODE_FIELD(colNames);
1046+
WRITE_NODE_FIELD(accessMethod);
10461047
WRITE_NODE_FIELD(options);
10471048
WRITE_ENUM_FIELD(onCommit,OnCommitAction);
10481049
WRITE_STRING_FIELD(tableSpaceName);
@@ -2578,6 +2579,7 @@ _outCreateStmtInfo(StringInfo str, const CreateStmt *node)
25782579
WRITE_NODE_FIELD(options);
25792580
WRITE_ENUM_FIELD(oncommit,OnCommitAction);
25802581
WRITE_STRING_FIELD(tablespacename);
2582+
WRITE_STRING_FIELD(accessMethod);
25812583
WRITE_BOOL_FIELD(if_not_exists);
25822584
}
25832585

‎src/backend/nodes/readfuncs.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,7 @@ _readIntoClause(void)
516516

517517
READ_NODE_FIELD(rel);
518518
READ_NODE_FIELD(colNames);
519+
READ_STRING_FIELD(accessMethod);
519520
READ_NODE_FIELD(options);
520521
READ_ENUM_FIELD(onCommit,OnCommitAction);
521522
READ_STRING_FIELD(tableSpaceName);

‎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_NO201903061
56+
#defineCATALOG_VERSION_NO201903062
5757

5858
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp