From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up indentation and whitespace inconsistencies in ecpg.
Date: Thu, 15 Aug 2024 15:42:04 +0000
Message-ID: <E1secc0-004IdU-Jk@gemulon.postgresql.org> (raw)
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(-)
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: Clean up indentation and whitespace inconsistencies in ecpg.
In-Reply-To: <E1secc0-004IdU-Jk@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