Fix copy/out/readfuncs for accessMethod addition in 8586bf7ed8.

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.
This commit is contained in:
Andres Freund 2019-03-06 11:55:28 -08:00
parent 863aa55624
commit b172342321
4 changed files with 5 additions and 1 deletions

View File

@ -1324,6 +1324,7 @@ _copyIntoClause(const IntoClause *from)
COPY_NODE_FIELD(rel);
COPY_NODE_FIELD(colNames);
COPY_STRING_FIELD(accessMethod);
COPY_NODE_FIELD(options);
COPY_SCALAR_FIELD(onCommit);
COPY_STRING_FIELD(tableSpaceName);

View File

@ -1043,6 +1043,7 @@ _outIntoClause(StringInfo str, const IntoClause *node)
WRITE_NODE_FIELD(rel);
WRITE_NODE_FIELD(colNames);
WRITE_NODE_FIELD(accessMethod);
WRITE_NODE_FIELD(options);
WRITE_ENUM_FIELD(onCommit, OnCommitAction);
WRITE_STRING_FIELD(tableSpaceName);
@ -2578,6 +2579,7 @@ _outCreateStmtInfo(StringInfo str, const CreateStmt *node)
WRITE_NODE_FIELD(options);
WRITE_ENUM_FIELD(oncommit, OnCommitAction);
WRITE_STRING_FIELD(tablespacename);
WRITE_STRING_FIELD(accessMethod);
WRITE_BOOL_FIELD(if_not_exists);
}

View File

@ -516,6 +516,7 @@ _readIntoClause(void)
READ_NODE_FIELD(rel);
READ_NODE_FIELD(colNames);
READ_STRING_FIELD(accessMethod);
READ_NODE_FIELD(options);
READ_ENUM_FIELD(onCommit, OnCommitAction);
READ_STRING_FIELD(tableSpaceName);

View File

@ -53,6 +53,6 @@
*/
/* yyyymmddN */
#define CATALOG_VERSION_NO 201903061
#define CATALOG_VERSION_NO 201903062
#endif