Fix equalfuncs for accessMethod addition in 8586bf7ed8.
authorAndres Freund <[email protected]>
Wed, 6 Mar 2019 21:04:09 +0000 (13:04 -0800)
committerAndres Freund <[email protected]>
Wed, 6 Mar 2019 21:04:09 +0000 (13:04 -0800)
In a complete brown paper bag moment, I forgot to include equalfuncs
in my previous fix of copy/out/readfuncs.  Thanks Tom for noticing.

Discussion: https://postgr.es/m/1659.1551903210@sss.pgh.pa.us

src/backend/nodes/equalfuncs.c

index 31499eb798d740ded23d199fa92e753134b6b91b..3cab90e9f883bfae48307f51b9783b3b6b5c671a 100644 (file)
@@ -142,6 +142,7 @@ _equalIntoClause(const IntoClause *a, const IntoClause *b)
 {
    COMPARE_NODE_FIELD(rel);
    COMPARE_NODE_FIELD(colNames);
+   COMPARE_STRING_FIELD(accessMethod);
    COMPARE_NODE_FIELD(options);
    COMPARE_SCALAR_FIELD(onCommit);
    COMPARE_STRING_FIELD(tableSpaceName);
@@ -1240,6 +1241,7 @@ _equalCreateStmt(const CreateStmt *a, const CreateStmt *b)
    COMPARE_NODE_FIELD(options);
    COMPARE_SCALAR_FIELD(oncommit);
    COMPARE_STRING_FIELD(tablespacename);
+   COMPARE_STRING_FIELD(accessMethod);
    COMPARE_SCALAR_FIELD(if_not_exists);
 
    return true;