Content-Length: 262320 | pFad | http://github.com/postgrespro/postgres/commit/55b8ac81723c45dca95d4ad4892a1ee28db37c23

08 Fix wrong field order in _readMergeWhenClause(). · postgrespro/postgres@55b8ac8 · GitHub
Skip to content

Commit 55b8ac8

Browse files
committed
Fix wrong field order in _readMergeWhenClause().
We hadn't noticed this because it's dead code: there is no situation where we read raw parse trees from text format. So maybe the right fix is to remove the function altogether, but I'll forbear for now; it's not the only dead code in readfuncs.c, I think. Noted while comparing existing code to the results of Peter's auto-generation script.
1 parent 0229106 commit 55b8ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nodes/readfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,10 +485,10 @@ _readMergeWhenClause(void)
485485

486486
READ_BOOL_FIELD(matched);
487487
READ_ENUM_FIELD(commandType, CmdType);
488+
READ_ENUM_FIELD(override, OverridingKind);
488489
READ_NODE_FIELD(condition);
489490
READ_NODE_FIELD(targetList);
490491
READ_NODE_FIELD(values);
491-
READ_ENUM_FIELD(override, OverridingKind);
492492

493493
READ_DONE();
494494
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/55b8ac81723c45dca95d4ad4892a1ee28db37c23

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy