pgsql: Fix wrong field order in _readMergeWhenClause().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix wrong field order in _readMergeWhenClause().
Date: 2022-07-06 21:26:59
Message-ID: E1o9CXx-001XTh-O5@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/55b8ac81723c45dca95d4ad4892a1ee28db37c23

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-07-06 22:59:19 pgsql: pgstat: slru: remove outdated comment
Previous Message David Rowley 2022-07-06 20:14:53 pgsql: Overload index_form_tuple to allow the memory context to be supp