From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Clean up indentation and whitespace inconsistencies in ecpg. |
Date: | 2024-08-15 15:42:04 |
Message-ID: | E1secc0-004IdU-Jk@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Clean up indentation and whitespace inconsistencies in ecpg.
ecpg's lexer and parser files aren't normally processed by
pgindent, and unsurprisingly there's a lot of code in there
that doesn't really match project style. I spent some time
running pgindent over the fragments of these files that are
C code, and this is the result. This is in the same spirit
as commit 30ed71e42, though apparently Peter used a different
method for that one, since it didn't find these problems.
Discussion: https://postgr.es/m/2011420.1713493114@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/97add39c038bbdb9082b416ddf04cd20b0d20bf5
Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.addons | 231 +-
src/interfaces/ecpg/preproc/ecpg.header | 180 +-
src/interfaces/ecpg/preproc/ecpg.trailer | 3566 +++++++++++++++++-------------
src/interfaces/ecpg/preproc/pgc.l | 642 +++---
4 files changed, 2608 insertions(+), 2011 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2024-08-15 15:43:58 | pgsql: Add 97add39c0 to .git-blame-ignore-revs. |
Previous Message | Robert Haas | 2024-08-15 14:45:26 | pgsql: Do not hardcode PG_PROTOCOL_LATEST in NegotiateProtocolVersion |