pgsql: Remove gen_node_support.pl's special treatment of EquivalenceCla

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove gen_node_support.pl's special treatment of EquivalenceCla
Date: 2022-12-02 20:20:40
Message-ID: E1p1CWV-001k6R-NA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-12-02 20:26:46 Re: pgsql: Doc: document bpchar, clarify relationship of text and varchar.
Previous Message Jeff Davis 2022-12-02 20:18:22 Re: pgsql: Doc: document bpchar, clarify relationship of text and varchar.