Fix wrong field order in _readMergeWhenClause().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: dcffdc53496b47ece19bdf84a24997c4088c584d
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-07-06T21:26:42Z
Releases: 15.0
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.

Files

PathChange+/−
src/backend/nodes/readfuncs.c modified +1 −1