Skip to content

Commit dcffdc5

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 ae1123f commit dcffdc5

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)
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