pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make RangeTblEntry dump order consistent
Date: Fri, 22 Mar 2024 06:41:34 +0000
Message-ID: <E1rnYar-0053Sk-VY@gemulon.postgresql.org> (raw)

Make RangeTblEntry dump order consistent

Put the fields alias and eref earlier in the struct, so that it
matches the order in _outRangeTblEntry()/_readRangeTblEntry().  This
helps if we ever want to fully automate out/read of RangeTblEntry.
Also, it makes dumps in the debugger easier to read in the same way.
Internally, this makes no difference.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://www.postgresql.org/message-id/flat/4b27fc50-8cd6-46f5-ab20-88dbaadca645@eisentraut.org

Branch
------
master

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

Modified Files
--------------
src/backend/nodes/outfuncs.c     |  1 -
src/backend/nodes/readfuncs.c    |  1 -
src/include/catalog/catversion.h |  2 +-
src/include/nodes/parsenodes.h   | 14 ++++++++++----
4 files changed, 11 insertions(+), 7 deletions(-)



Message-ID: <E1rnYar-0053Sk-VY@gemulon.postgresql.org>
Permalink:  ../E1rnYar-0053Sk-VY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rnYar-0053Sk-VY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make RangeTblEntry dump order consistent
  In-Reply-To: <E1rnYar-0053Sk-VY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox