pgsql: Fix wrong field order in _readMergeWhenClause(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix wrong field order in _readMergeWhenClause().
Date
Msg-id E1o9CXx-001XTi-Oi@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dcffdc53496b47ece19bdf84a24997c4088c584d

Modified Files
--------------
src/backend/nodes/readfuncs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Overload index_form_tuple to allow the memory context to be supp
Next
From: Andres Freund
Date:
Subject: pgsql: pgstat: slru: remove outdated comment