Skip to content

Commit b172342

Browse files
committed
Fix copy/out/readfuncs for accessMethod addition in 8586bf7.
This includes a catversion bump, as IntoClause is theoretically speaking part of storable rules. In practice I don't think that can happen, but there's no reason to be stingy here. Per buildfarm member calliphoridae.
1 parent 863aa55 commit b172342

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-
#define CATALOG_VERSION_NO 201903061
56+
#define CATALOG_VERSION_NO 201903062
5757

5858
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy