Post-PG 10 beta1 pgindent run perltidy run not included.
Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a6fd7b7a5f7bf3a8aa3f3d076cf09d922c1c6dd2 Modified Files -------------- contrib/bloom/blinsert.c | 10 +- contrib/bloom/blutils.c | 2 +- contrib/btree_gin/btree_gin.c | 32 +- contrib/btree_gist/btree_cash.c | 2 +- contrib/btree_gist/btree_date.c | 2 +- contrib/btree_gist/btree_enum.c | 10 +- contrib/btree_gist/btree_float4.c | 2 +- contrib/btree_gist/btree_float8.c | 2 +- contrib/btree_gist/btree_inet.c | 2 +- contrib/btree_gist/btree_int2.c | 2 +- contrib/btree_gist/btree_int4.c | 2 +- contrib/btree_gist/btree_int8.c | 2 +- contrib/btree_gist/btree_interval.c | 2 +- contrib/btree_gist/btree_oid.c | 2 +- contrib/btree_gist/btree_time.c | 2 +- contrib/btree_gist/btree_ts.c | 4 +- contrib/btree_gist/btree_utils_num.h | 14 +- contrib/btree_gist/btree_utils_var.c | 6 +- contrib/btree_gist/btree_utils_var.h | 12 +- contrib/btree_gist/btree_uuid.c | 2 +- contrib/dblink/dblink.c | 31 +- contrib/oid2name/oid2name.c | 2 +- contrib/pageinspect/brinfuncs.c | 4 +- contrib/pageinspect/hashfuncs.c | 20 +- contrib/pageinspect/rawpage.c | 4 +- contrib/pg_standby/pg_standby.c | 2 +- contrib/pg_visibility/pg_visibility.c | 4 +- contrib/pgcrypto/openssl.c | 8 +- contrib/pgcrypto/pgcrypto.c | 4 +- contrib/pgrowlocks/pgrowlocks.c | 5 +- contrib/pgstattuple/pgstatapprox.c | 2 +- contrib/pgstattuple/pgstatindex.c | 38 +- contrib/postgres_fdw/deparse.c | 16 +- contrib/postgres_fdw/postgres_fdw.c | 22 +- contrib/postgres_fdw/postgres_fdw.h | 4 +- src/backend/access/brin/brin.c | 17 +- src/backend/access/brin/brin_revmap.c | 8 +- src/backend/access/brin/brin_xlog.c | 4 +- src/backend/access/common/printsimple.c | 8 +- src/backend/access/gin/ginvacuum.c | 42 +- src/backend/access/hash/hash.c | 28 +- src/backend/access/hash/hash_xlog.c | 40 +- src/backend/access/hash/hashinsert.c | 51 ++- src/backend/access/hash/hashpage.c | 50 ++- src/backend/access/hash/hashutil.c | 27 +- src/backend/access/heap/heapam.c | 31 +- src/backend/access/nbtree/nbtree.c | 12 +- src/backend/access/rmgrdesc/brindesc.c | 2 +- src/backend/access/rmgrdesc/clogdesc.c | 2 +- src/backend/access/rmgrdesc/gindesc.c | 12 +- src/backend/access/spgist/spginsert.c | 8 +- src/backend/access/transam/clog.c | 12 +- src/backend/access/transam/commit_ts.c | 8 +- src/backend/access/transam/subtrans.c | 14 +- src/backend/access/transam/twophase.c | 109 +++--- src/backend/access/transam/varsup.c | 2 +- src/backend/access/transam/xact.c | 9 +- src/backend/access/transam/xlog.c | 112 +++--- src/backend/access/transam/xlogfuncs.c | 5 +- src/backend/access/transam/xloginsert.c | 23 +- src/backend/access/transam/xlogreader.c | 4 +- src/backend/access/transam/xlogutils.c | 57 +-- src/backend/catalog/dependency.c | 8 +- src/backend/catalog/heap.c | 8 +- src/backend/catalog/objectaddress.c | 34 +- src/backend/catalog/pg_collation.c | 28 +- src/backend/catalog/pg_depend.c | 6 +- src/backend/catalog/pg_inherits.c | 12 +- src/backend/catalog/pg_namespace.c | 2 +- src/backend/catalog/pg_publication.c | 66 ++-- src/backend/catalog/pg_subscription.c | 57 +-- src/backend/commands/alter.c | 2 +- src/backend/commands/analyze.c | 2 +- src/backend/commands/collationcmds.c | 38 +- src/backend/commands/copy.c | 4 +- src/backend/commands/dbcommands.c | 7 +- src/backend/commands/define.c | 2 +- src/backend/commands/dropcmds.c | 13 +- src/backend/commands/event_trigger.c | 4 +- src/backend/commands/foreigncmds.c | 32 +- src/backend/commands/publicationcmds.c | 63 +-- src/backend/commands/sequence.c | 46 +-- src/backend/commands/statscmds.c | 4 +- src/backend/commands/subscriptioncmds.c | 133 +++---- src/backend/commands/tablecmds.c | 50 +-- src/backend/commands/trigger.c | 35 +- src/backend/commands/tsearchcmds.c | 8 +- src/backend/commands/user.c | 6 +- src/backend/commands/vacuumlazy.c | 6 +- src/backend/commands/view.c | 4 +- src/backend/executor/execAmi.c | 13 +- src/backend/executor/execGrouping.c | 2 +- src/backend/executor/execMain.c | 24 +- src/backend/executor/execParallel.c | 6 +- src/backend/executor/execProcnode.c | 2 +- src/backend/executor/execReplication.c | 78 ++-- src/backend/executor/execUtils.c | 8 +- src/backend/executor/nodeAgg.c | 4 +- src/backend/executor/nodeAppend.c | 4 +- src/backend/executor/nodeBitmapHeapscan.c | 5 +- src/backend/executor/nodeGather.c | 2 +- src/backend/executor/nodeGatherMerge.c | 22 +- src/backend/executor/nodeMergeAppend.c | 4 +- src/backend/executor/nodeModifyTable.c | 24 +- src/backend/executor/nodeProjectSet.c | 2 +- src/backend/executor/nodeSetOp.c | 2 +- src/backend/executor/nodeTableFuncscan.c | 16 +- src/backend/executor/spi.c | 20 +- src/backend/lib/rbtree.c | 2 +- src/backend/libpq/auth.c | 12 +- src/backend/libpq/crypt.c | 11 +- src/backend/libpq/hba.c | 13 +- src/backend/libpq/pqcomm.c | 2 +- src/backend/nodes/copyfuncs.c | 4 +- src/backend/nodes/nodeFuncs.c | 3 +- src/backend/nodes/outfuncs.c | 2 +- src/backend/nodes/tidbitmap.c | 8 +- src/backend/optimizer/path/allpaths.c | 11 +- src/backend/optimizer/path/costsize.c | 10 +- src/backend/optimizer/path/indxpath.c | 4 +- src/backend/optimizer/plan/createplan.c | 8 +- src/backend/optimizer/plan/planner.c | 28 +- src/backend/optimizer/plan/setrefs.c | 9 +- src/backend/optimizer/prep/prepunion.c | 11 +- src/backend/optimizer/util/pathnode.c | 6 +- src/backend/optimizer/util/plancat.c | 2 +- src/backend/optimizer/util/relnode.c | 6 +- src/backend/parser/analyze.c | 6 +- src/backend/parser/parse_clause.c | 26 +- src/backend/parser/parse_expr.c | 2 +- src/backend/parser/parse_relation.c | 3 +- src/backend/parser/parse_utilcmd.c | 122 +++--- src/backend/port/posix_sema.c | 4 +- src/backend/postmaster/bgworker.c | 2 +- src/backend/postmaster/bgwriter.c | 6 +- src/backend/postmaster/checkpointer.c | 2 +- src/backend/postmaster/pgstat.c | 41 +- src/backend/postmaster/postmaster.c | 19 +- src/backend/postmaster/syslogger.c | 14 +- src/backend/replication/basebackup.c | 32 +- .../libpqwalreceiver/libpqwalreceiver.c | 100 ++--- src/backend/replication/logical/launcher.c | 107 +++--- src/backend/replication/logical/logical.c | 8 +- src/backend/replication/logical/logicalfuncs.c | 18 +- src/backend/replication/logical/proto.c | 38 +- src/backend/replication/logical/relation.c | 71 ++-- src/backend/replication/logical/snapbuild.c | 65 ++-- src/backend/replication/logical/tablesync.c | 145 +++---- src/backend/replication/logical/worker.c | 327 ++++++++-------- src/backend/replication/pgoutput/pgoutput.c | 120 +++--- src/backend/replication/slot.c | 8 +- src/backend/replication/slotfuncs.c | 14 +- src/backend/replication/syncrep.c | 74 ++-- src/backend/replication/walreceiver.c | 17 +- src/backend/replication/walsender.c | 95 +++-- src/backend/rewrite/rewriteDefine.c | 4 +- src/backend/rewrite/rewriteHandler.c | 8 +- src/backend/statistics/dependencies.c | 18 +- src/backend/statistics/extended_stats.c | 42 +- src/backend/statistics/mvdistinct.c | 58 +-- src/backend/storage/file/fd.c | 4 +- src/backend/storage/lmgr/condition_variable.c | 22 +- src/backend/storage/lmgr/lwlock.c | 2 +- src/backend/storage/smgr/md.c | 2 +- src/backend/tcop/utility.c | 2 + src/backend/tsearch/to_tsany.c | 44 ++- src/backend/tsearch/wparser.c | 32 +- src/backend/utils/adt/cash.c | 12 +- src/backend/utils/adt/dbsize.c | 8 +- src/backend/utils/adt/formatting.c | 63 +-- src/backend/utils/adt/genfile.c | 4 +- src/backend/utils/adt/json.c | 2 +- src/backend/utils/adt/jsonb.c | 2 +- src/backend/utils/adt/jsonfuncs.c | 428 +++++++++++---------- src/backend/utils/adt/like.c | 8 +- src/backend/utils/adt/mac.c | 2 +- src/backend/utils/adt/mac8.c | 2 +- src/backend/utils/adt/pg_locale.c | 44 ++- src/backend/utils/adt/ruleutils.c | 14 +- src/backend/utils/adt/selfuncs.c | 44 +-- src/backend/utils/adt/txid.c | 16 +- src/backend/utils/adt/varlena.c | 35 +- src/backend/utils/adt/xml.c | 9 +- src/backend/utils/cache/inval.c | 15 +- src/backend/utils/cache/lsyscache.c | 2 +- src/backend/utils/cache/plancache.c | 4 +- src/backend/utils/cache/relcache.c | 16 +- src/backend/utils/cache/syscache.c | 16 +- src/backend/utils/fmgr/dfmgr.c | 2 +- src/backend/utils/fmgr/fmgr.c | 6 +- src/backend/utils/mb/conv.c | 7 +- .../utf8_and_iso8859/utf8_and_iso8859.c | 30 +- .../conversion_procs/utf8_and_win/utf8_and_win.c | 8 +- src/backend/utils/mb/encnames.c | 74 ++-- src/backend/utils/misc/backend_random.c | 14 +- src/backend/utils/misc/guc.c | 18 +- src/backend/utils/sort/tuplesort.c | 4 +- src/backend/utils/time/snapmgr.c | 7 +- src/bin/initdb/findtimezone.c | 14 +- src/bin/initdb/initdb.c | 8 +- src/bin/pg_archivecleanup/pg_archivecleanup.c | 2 +- src/bin/pg_basebackup/pg_basebackup.c | 54 +-- src/bin/pg_basebackup/pg_receivewal.c | 32 +- src/bin/pg_basebackup/receivelog.c | 12 +- src/bin/pg_basebackup/walmethods.c | 12 +- src/bin/pg_basebackup/walmethods.h | 10 +- src/bin/pg_ctl/pg_ctl.c | 16 +- src/bin/pg_dump/pg_backup.h | 2 +- src/bin/pg_dump/pg_backup_archiver.c | 16 +- src/bin/pg_dump/pg_backup_archiver.h | 39 +- src/bin/pg_dump/pg_dump.c | 153 ++++---- src/bin/pg_dump/pg_dump.h | 6 +- src/bin/pg_dump/pg_dumpall.c | 162 ++++---- src/bin/pg_resetwal/pg_resetwal.c | 4 +- src/bin/pg_test_timing/pg_test_timing.c | 2 +- src/bin/pg_upgrade/exec.c | 4 +- src/bin/pg_upgrade/info.c | 2 +- src/bin/pg_upgrade/option.c | 8 +- src/bin/pg_waldump/pg_waldump.c | 16 +- src/bin/psql/conditional.h | 2 +- src/bin/psql/describe.c | 127 +++--- src/bin/psql/describe.h | 6 +- src/bin/psql/tab-complete.c | 160 +++++--- src/common/file_utils.c | 12 +- src/common/saslprep.c | 4 +- src/common/scram-common.c | 4 +- src/common/sha2_openssl.c | 2 +- src/common/unicode_norm.c | 2 +- src/include/access/brin.h | 4 +- src/include/access/brin_tuple.h | 6 +- src/include/access/brin_xlog.h | 2 +- src/include/access/clog.h | 4 +- src/include/access/hash.h | 11 +- src/include/access/hash_xlog.h | 31 +- src/include/access/relscan.h | 2 +- src/include/access/twophase.h | 2 +- src/include/access/xact.h | 2 +- src/include/access/xlog.h | 4 +- src/include/access/xlogreader.h | 8 +- src/include/access/xlogutils.h | 2 +- src/include/c.h | 2 +- src/include/catalog/dependency.h | 2 +- src/include/catalog/pg_authid.h | 2 +- src/include/catalog/pg_collation.h | 3 +- src/include/catalog/pg_operator.h | 2 +- src/include/catalog/pg_policy.h | 2 +- src/include/catalog/pg_proc.h | 20 +- src/include/catalog/pg_publication.h | 24 +- src/include/catalog/pg_publication_rel.h | 4 +- src/include/catalog/pg_sequence.h | 2 +- src/include/catalog/pg_statistic_ext.h | 4 +- src/include/catalog/pg_subscription.h | 33 +- src/include/catalog/pg_subscription_rel.h | 14 +- src/include/commands/createas.h | 2 +- src/include/commands/explain.h | 2 +- src/include/commands/subscriptioncmds.h | 2 +- src/include/common/file_utils.h | 8 +- src/include/common/scram-common.h | 2 +- src/include/executor/executor.h | 4 +- src/include/executor/nodeGatherMerge.h | 10 +- src/include/executor/spi.h | 10 +- src/include/executor/tablefunc.h | 4 +- src/include/lib/simplehash.h | 66 ++-- src/include/libpq/hba.h | 8 +- src/include/mb/pg_wchar.h | 34 +- src/include/nodes/execnodes.h | 17 +- src/include/nodes/makefuncs.h | 2 +- src/include/nodes/parsenodes.h | 20 +- src/include/nodes/plannodes.h | 6 +- src/include/nodes/relation.h | 4 +- src/include/optimizer/cost.h | 10 +- src/include/optimizer/pathnode.h | 14 +- src/include/optimizer/paths.h | 2 +- src/include/parser/parse_func.h | 4 +- src/include/parser/parse_node.h | 3 +- src/include/parser/parse_oper.h | 2 +- src/include/replication/logical.h | 6 +- src/include/replication/logicallauncher.h | 4 +- src/include/replication/logicalproto.h | 54 +-- src/include/replication/logicalrelation.h | 21 +- src/include/replication/pgoutput.h | 12 +- src/include/replication/snapbuild.h | 4 +- src/include/replication/syncrep.h | 2 +- src/include/replication/walreceiver.h | 96 ++--- src/include/replication/worker_internal.h | 44 +-- src/include/statistics/extended_stats_internal.h | 10 +- src/include/storage/condition_variable.h | 4 +- src/include/storage/proc.h | 2 +- src/include/storage/procarray.h | 17 +- src/include/tcop/utility.h | 4 +- src/include/utils/jsonapi.h | 10 +- src/include/utils/lsyscache.h | 2 +- src/include/utils/pg_locale.h | 13 +- src/include/utils/plancache.h | 2 +- src/include/utils/queryenvironment.h | 10 +- src/include/utils/regproc.h | 2 +- src/include/utils/rel.h | 4 +- src/include/utils/varlena.h | 2 +- src/interfaces/libpq/fe-auth-scram.c | 2 +- src/interfaces/libpq/fe-connect.c | 80 ++-- src/interfaces/libpq/fe-secure-openssl.c | 51 +-- src/interfaces/libpq/libpq-fe.h | 4 +- src/pl/plperl/plperl.c | 2 +- src/pl/plpgsql/src/plpgsql.h | 3 +- src/pl/plpython/plpy_exec.c | 2 +- src/pl/plpython/plpy_typeio.c | 17 +- src/pl/tcl/pltcl.c | 2 +- src/port/dirmod.c | 10 +- src/test/regress/regress.c | 7 +- src/tools/testint128.c | 2 +- 310 files changed, 3341 insertions(+), 3174 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers