pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: ecpg: invent a saner syntax for ecpg.addons entries.
Date: Mon, 14 Oct 2024 20:14:03 +0000
Message-ID: <E1t0RS7-000q1K-Qo@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1t0RS7-000q1K-Qo@gemulon.postgresql.org>
Permalink:  ../E1t0RS7-000q1K-Qo@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1t0RS7-000q1K-Qo@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: ecpg: invent a saner syntax for ecpg.addons entries.
  In-Reply-To: <E1t0RS7-000q1K-Qo@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox