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: Make assorted quality-of-life improvements in gen_node_support.p
Date: Sat, 09 Jul 2022 19:15:14 +0000
Message-ID: <E1oAFv7-00202G-DU@gemulon.postgresql.org> (raw)

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



Message-ID: <E1oAFv7-00202G-DU@gemulon.postgresql.org>
Permalink:  ../E1oAFv7-00202G-DU@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oAFv7-00202G-DU@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: Make assorted quality-of-life improvements in gen_node_support.p
  In-Reply-To: <E1oAFv7-00202G-DU@gemulon.postgresql.org>
  References: <E1oAFv7-00202G-DU@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