pgsql: Make assorted quality-of-life improvements in gen_node_support.p - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Make assorted quality-of-life improvements in gen_node_support.p
Date
Msg-id E1oAFv7-00202G-DU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Make assorted quality-of-life improvements in gen_node_support.pl.

Fix incorrect reporting of the location of errors (such as bogus
node attributes).  Add header comments to the generated files,
containing copyright notices and reminders that they are generated
files, as we do in other file-generating scripts.  Arrange to not
leave a clutter of temporary files when the script detects an error.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8eccaf65254225921d6fd1f3bfa23e8a0b1f6bbb

Modified Files
--------------
src/backend/nodes/gen_node_support.pl | 124 +++++++++++++++++++++++++++-------
1 file changed, 101 insertions(+), 23 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Mark Scan as an abstract node type, too.
Next
From: Peter Eisentraut
Date:
Subject: Re: pgsql: Move a comment