Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
Thread:
Lists: pgsql-committerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group