pgsql: ecpg: invent a saner syntax for ecpg.addons entries.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: ecpg: invent a saner syntax for ecpg.addons entries.
Date: 2024-10-14 20:14:03
Message-ID: E1t0RS7-000q1K-Qo@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

ecpg: invent a saner syntax for ecpg.addons entries.

Put the rule type at the start not the end, and put spaces
between the constitutent token names instead of smashing them
into an illegible mess. This has no functional impact but
I think it makes the rules a great deal more readable.

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

Branch
------
master

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

Modified Files
--------------
src/interfaces/ecpg/preproc/README.parser | 16 ++---
src/interfaces/ecpg/preproc/ecpg.addons | 100 +++++++++++++++---------------
src/interfaces/ecpg/preproc/parse.pl | 89 ++++++++++++++------------
3 files changed, 107 insertions(+), 98 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-10-14 23:00:13 Re: pgsql: Create functions pg_set_relation_stats, pg_clear_relation_stats.
Previous Message Nathan Bossart 2024-10-14 20:10:15 pgsql: Add commit 7f7474a8e4 to .git-blame-ignore-revs.