Fix wrong field order in _readMergeWhenClause().

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

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