pgsql: ecpg: add cross-checks to parse.pl for usage of internal tables. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: ecpg: add cross-checks to parse.pl for usage of internal tables.
Date
Msg-id E1t0REB-000pvg-Jm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
ecpg: add cross-checks to parse.pl for usage of internal tables.

parse.pl contains several constant tables that describe tweaks
to be made to the backend grammar.  In the same spirit as
00b0e7204, add cross-checks that each table entry is used at
least once (or exactly once if that's appropriate).  This should
help catch cases where adjustments to the backend grammar cause
a table entry not to match as expected.

Per suggestion from Michael Paquier.

Discussion: https://postgr.es/m/ZsLVbjsc5x5Saesg@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d2f41b4621de6d0e9eeaa4ea1d60cad190406f5e

Modified Files
--------------
src/interfaces/ecpg/preproc/parse.pl | 41 ++++++++++++++++++++++++++++++++++--
1 file changed, 39 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Move libc-specific code from pg_locale.c into pg_locale_libc.c.
Next
From: Nathan Bossart
Date:
Subject: pgsql: Add commit 7f7474a8e4 to .git-blame-ignore-revs.