pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove gen_node_support.pl's special treatment of EquivalenceCla
Date: Fri, 02 Dec 2022 20:20:40 +0000
Message-ID: <E1p1CWV-001k6R-NA@gemulon.postgresql.org> (raw)

Remove gen_node_support.pl's special treatment of EquivalenceClasses.

It seems better to deal with this by explicit annotations on the
fields in question, instead of magic knowledge embedded in the
script.  While that creates a risk-of-omission from failing to
annotate fields, the preceding commit should catch any such
oversights.

Discussion: https://postgr.es/m/263413.1669513145@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4c689a69eef639caa881539ee546ff1a5b11f98f

Modified Files
--------------
src/backend/nodes/gen_node_support.pl | 40 +++++++++++++++++++++++++++++------
src/include/nodes/nodes.h             |  6 ++++++
src/include/nodes/pathnodes.h         | 17 +++++++++------
3 files changed, 49 insertions(+), 14 deletions(-)



Message-ID: <E1p1CWV-001k6R-NA@gemulon.postgresql.org>
Permalink:  ../E1p1CWV-001k6R-NA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1p1CWV-001k6R-NA@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Remove gen_node_support.pl's special treatment of EquivalenceCla
  In-Reply-To: <E1p1CWV-001k6R-NA@gemulon.postgresql.org>
  References: <E1p1CWV-001k6R-NA@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