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: Run pgindent with new pg_bsd_indent version 2.1.1.
Date: Sat, 16 May 2020 15:54:58 +0000
Message-ID: <E1jZz9O-0007OO-Am@gemulon.postgresql.org> (raw)

Run pgindent with new pg_bsd_indent version 2.1.1.

Thomas Munro fixed a longstanding annoyance in pg_bsd_indent, that
it would misformat lines containing IsA() macros on the assumption
that the IsA() call should be treated like a cast.  This improves
some other cases involving field/variable names that match typedefs,
too.  The only places that get worse are a couple of uses of the
OpenSSL macro STACK_OF(); we'll gladly take that trade-off.

Discussion: https://postgr.es/m/20200114221814.GA19630@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/fa27dd40d5c5f56a1ee837a75c97549e992e32a4

Modified Files
--------------
src/backend/commands/explain.c           |  4 ++--
src/backend/commands/tablecmds.c         |  2 +-
src/backend/commands/typecmds.c          |  2 +-
src/backend/executor/nodeAgg.c           |  2 +-
src/backend/executor/nodeProjectSet.c    |  4 ++--
src/backend/libpq/be-secure-openssl.c    |  2 +-
src/backend/nodes/outfuncs.c             |  2 +-
src/backend/optimizer/path/costsize.c    |  2 +-
src/backend/optimizer/plan/setrefs.c     |  2 +-
src/backend/optimizer/util/pathnode.c    |  2 +-
src/backend/parser/analyze.c             |  4 ++--
src/backend/parser/parse_agg.c           |  4 ++--
src/backend/parser/parse_clause.c        |  2 +-
src/backend/parser/parse_expr.c          |  2 +-
src/backend/statistics/extended_stats.c  |  4 ++--
src/backend/utils/adt/datetime.c         |  2 +-
src/backend/utils/adt/formatting.c       |  2 +-
src/backend/utils/adt/numeric.c          |  2 +-
src/backend/utils/adt/ruleutils.c        |  6 +++---
src/backend/utils/adt/timestamp.c        |  2 +-
src/backend/utils/adt/varbit.c           |  2 +-
src/backend/utils/adt/varchar.c          |  2 +-
src/bin/pg_dump/pg_backup_directory.c    |  2 +-
src/bin/psql/tab-complete.c              |  2 +-
src/common/jsonapi.c                     |  2 +-
src/interfaces/ecpg/ecpglib/execute.c    |  2 +-
src/interfaces/ecpg/ecpglib/prepare.c    |  2 +-
src/interfaces/libpq/fe-secure-openssl.c |  2 +-
src/pl/plpgsql/src/pl_exec.c             |  4 ++--
src/timezone/localtime.c                 | 10 +++++-----
src/timezone/strftime.c                  |  2 +-
src/timezone/zic.c                       |  4 ++--
src/tools/pgindent/pgindent              |  4 ++--
33 files changed, 47 insertions(+), 47 deletions(-)



Message-ID: <E1jZz9O-0007OO-Am@gemulon.postgresql.org>
Permalink:  ../E1jZz9O-0007OO-Am@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jZz9O-0007OO-Am@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Run pgindent with new pg_bsd_indent version 2.1.1.
  In-Reply-To: <E1jZz9O-0007OO-Am@gemulon.postgresql.org>
  References: <E1jZz9O-0007OO-Am@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