pgsql: Preventive maintenance in advance of pgindent run.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Preventive maintenance in advance of pgindent run.
Date: 2017-05-17 00:36:46
Message-ID: E1dAmxK-0006EE-1r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Preventive maintenance in advance of pgindent run.

Reformat various places in which pgindent will make a mess, and
fix a few small violations of coding style that I happened to notice
while perusing the diffs from a pgindent dry run.

There is one actual bug fix here: the need-to-enlarge-the-buffer code
path in icu_convert_case was obviously broken. Perhaps it's unreachable
in our usage? Or maybe this is just sadly undertested.

Branch
------
master

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

Modified Files
--------------
contrib/btree_gist/btree_utils_num.c | 11 +++++---
src/backend/catalog/pg_publication.c | 11 ++++----
src/backend/commands/publicationcmds.c | 4 ++-
src/backend/commands/subscriptioncmds.c | 1 +
src/backend/executor/nodeNamedtuplestorescan.c | 1 +
src/backend/replication/logical/snapbuild.c | 2 +-
src/backend/replication/pgoutput/pgoutput.c | 5 ++--
src/backend/tsearch/wparser.c | 13 ++++++----
src/backend/utils/adt/formatting.c | 35 ++++++++++++++++++--------
src/backend/utils/adt/pg_locale.c | 2 ++
src/bin/pg_basebackup/pg_basebackup.c | 24 +++++++++---------
src/bin/pg_dump/dumputils.c | 3 +--
src/bin/pg_dump/pg_backup_archiver.h | 4 +--
src/bin/pg_waldump/pg_waldump.c | 18 ++++++-------
src/bin/psql/tab-complete.c | 7 +++---
src/common/scram-common.c | 3 ++-
src/include/catalog/pg_authid.h | 16 ++++++------
src/include/catalog/pg_subscription_rel.h | 14 +++++------
src/include/replication/logicalproto.h | 6 +++--
src/interfaces/libpq/libpq-int.h | 4 +--
20 files changed, 105 insertions(+), 79 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-05-17 02:18:32 Re: pgsql: Tag refs/tags/REL_10_BETA1 was created
Previous Message Tom Lane 2017-05-16 23:33:37 pgsql: Fix leakage of memory context header in find_all_inheritors().

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2017-05-17 00:39:36 Re: PG10 pgindent run
Previous Message Amit Langote 2017-05-17 00:19:36 Re: NOT NULL constraints on range partition key columns