From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: ecpg: add cross-checks to parse.pl for usage of internal tables. |
Date: | 2024-10-14 19:59:39 |
Message-ID: | E1t0REB-000pvg-Jm@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Nathan Bossart | 2024-10-14 20:10:15 | pgsql: Add commit 7f7474a8e4 to .git-blame-ignore-revs. |
Previous Message | Jeff Davis | 2024-10-14 19:49:06 | pgsql: Move libc-specific code from pg_locale.c into pg_locale_libc.c. |