Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d16a74c

Browse files
committed
Fix equalfuncs for accessMethod addition in 8586bf7.
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
1 parent 342cb65 commit d16a74c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/backend/nodes/equalfuncs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ _equalIntoClause(const IntoClause *a, const IntoClause *b)
142142
{
143143
COMPARE_NODE_FIELD(rel);
144144
COMPARE_NODE_FIELD(colNames);
145+
COMPARE_STRING_FIELD(accessMethod);
145146
COMPARE_NODE_FIELD(options);
146147
COMPARE_SCALAR_FIELD(onCommit);
147148
COMPARE_STRING_FIELD(tableSpaceName);
@@ -1240,6 +1241,7 @@ _equalCreateStmt(const CreateStmt *a, const CreateStmt *b)
12401241
COMPARE_NODE_FIELD(options);
12411242
COMPARE_SCALAR_FIELD(oncommit);
12421243
COMPARE_STRING_FIELD(tablespacename);
1244+
COMPARE_STRING_FIELD(accessMethod);
12431245
COMPARE_SCALAR_FIELD(if_not_exists);
12441246

12451247
return true;

0 commit comments

Comments
 (0)