Remove gen_node_support.pl's special treatment of EquivalenceClasses.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Dec 2022 20:20:30 +0000 (15:20 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Dec 2022 20:20:30 +0000 (15:20 -0500)
commit4c689a69eef639caa881539ee546ff1a5b11f98f
treea17a548a7c2664439db8216e322c92fd55f02b75
parentb6bd5def3a6382995634d33f46d20e191a475914
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
src/backend/nodes/gen_node_support.pl
src/include/nodes/nodes.h
src/include/nodes/pathnodes.h