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: ecpg: major cleanup, simplification, and documentation of parse.
Date: Mon, 14 Oct 2024 17:55:19 +0000
Message-ID: <E1t0PHs-000p5L-2z@gemulon.postgresql.org> (raw)

ecpg: major cleanup, simplification, and documentation of parse.pl.

Remove a lot of cruft, clean up and document what's left.
This produces the same preproc.y output as before, except for
fewer blank lines.  (It's not like we're making any attempt to
match the layout of gram.y, so I removed the one bit of logic
that seemed to have that in mind.)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6b005499447512abfa1e4add87dcf3e2859c4f9e

Modified Files
--------------
src/interfaces/ecpg/preproc/parse.pl | 486 +++++++++++++++++++++--------------
1 file changed, 292 insertions(+), 194 deletions(-)



Message-ID: <E1t0PHs-000p5L-2z@gemulon.postgresql.org>
Permalink:  ../E1t0PHs-000p5L-2z@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t0PHs-000p5L-2z@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ecpg: major cleanup, simplification, and documentation of parse.
  In-Reply-To: <E1t0PHs-000p5L-2z@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