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

Started by Tom Laneover 1 year ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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: /messages/by-id/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(-)