pgsql: ecpg: major cleanup, simplification, and documentation of parse. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: ecpg: major cleanup, simplification, and documentation of parse.
Date
Msg-id E1t0PHs-000p5L-2z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Masahiko Sawada
Date:
Subject: pgsql: Remove obsolete comment in reorderbuffer.h.
Next
From: Jeff Davis
Date:
Subject: pgsql: Move ICU-specific code from pg_locale.c into pg_locale_icu.c.