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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ecpg: major cleanup, simplification, and documentation of parse.
Date: 2024-10-14 17:55:19
Message-ID: E1t0PHs-000p5L-2z@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2024-10-14 19:15:09 pgsql: Move ICU-specific code from pg_locale.c into pg_locale_icu.c.
Previous Message Masahiko Sawada 2024-10-14 16:53:44 pgsql: Remove obsolete comment in reorderbuffer.h.