pgsql: Clean up indentation and whitespace inconsistencies in ecpg. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Clean up indentation and whitespace inconsistencies in ecpg.
Date
Msg-id E1secc0-004IdU-Jk@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Do not hardcode PG_PROTOCOL_LATEST in NegotiateProtocolVersion
Next
From: Tom Lane
Date:
Subject: pgsql: Add 97add39c0 to .git-blame-ignore-revs.