From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: pgindent run for release 9.3 |
Date: | 2013-05-29 20:58:50 |
Message-ID: | E1UhnSM-0003Ys-U7@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pgindent run for release 9.3
This is the first run of the Perl-based pgindent script. Also update
pgindent instructions.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9af4159fce6654aa0e081b00d02bca40b978745c
Modified Files
--------------
contrib/btree_gist/btree_bit.c | 1 -
contrib/btree_gist/btree_text.c | 1 -
contrib/btree_gist/btree_ts.c | 1 -
contrib/btree_gist/btree_utils_num.c | 2 -
contrib/btree_gist/btree_utils_var.c | 3 -
contrib/dblink/dblink.c | 8 +-
contrib/file_fdw/file_fdw.c | 8 +-
contrib/hstore/hstore_io.c | 8 +-
contrib/oid2name/oid2name.c | 2 +-
contrib/pg_archivecleanup/pg_archivecleanup.c | 4 +-
contrib/pg_standby/pg_standby.c | 2 +-
contrib/pg_test_timing/pg_test_timing.c | 19 +-
contrib/pg_trgm/trgm_op.c | 4 +-
contrib/pg_upgrade/check.c | 76 ++-
contrib/pg_upgrade/controldata.c | 19 +-
contrib/pg_upgrade/exec.c | 31 +-
contrib/pg_upgrade/file.c | 3 +-
contrib/pg_upgrade/info.c | 29 +-
contrib/pg_upgrade/option.c | 41 +-
contrib/pg_upgrade/page.c | 10 +-
contrib/pg_upgrade/parallel.c | 116 ++--
contrib/pg_upgrade/pg_upgrade.c | 48 +-
contrib/pg_upgrade/pg_upgrade.h | 48 +-
contrib/pg_upgrade/relfilenode.c | 59 +-
contrib/pg_upgrade/server.c | 12 +-
contrib/pg_upgrade/tablespace.c | 2 +-
contrib/pg_upgrade/util.c | 18 +-
contrib/pg_xlogdump/compat.c | 4 +-
contrib/pg_xlogdump/pg_xlogdump.c | 15 +-
contrib/pg_xlogdump/rmgrdesc.c | 1 -
contrib/pg_xlogdump/rmgrdesc.h | 4 +-
contrib/pgbench/pgbench.c | 131 ++--
contrib/pgcrypto/imath.h | 24 +-
contrib/pgcrypto/pgp.h | 3 +-
contrib/pgrowlocks/pgrowlocks.c | 10 +-
contrib/pgstattuple/pgstatindex.c | 6 +-
contrib/postgres_fdw/connection.c | 2 +-
contrib/postgres_fdw/postgres_fdw.c | 20 +-
contrib/postgres_fdw/postgres_fdw.h | 2 +-
contrib/sepgsql/hooks.c | 30 +-
contrib/sepgsql/label.c | 5 +-
contrib/sepgsql/proc.c | 22 +-
contrib/sepgsql/relation.c | 22 +-
contrib/sepgsql/schema.c | 1 +
contrib/unaccent/unaccent.c | 8 +-
contrib/vacuumlo/vacuumlo.c | 2 +-
contrib/worker_spi/worker_spi.c | 122 ++--
src/backend/access/gin/ginbtree.c | 1 -
src/backend/access/gist/gistbuild.c | 8 +-
src/backend/access/gist/gistget.c | 5 +-
src/backend/access/gist/gistutil.c | 6 +-
src/backend/access/gist/gistxlog.c | 4 +-
src/backend/access/hash/hashinsert.c | 2 +-
src/backend/access/hash/hashsearch.c | 2 +-
src/backend/access/heap/heapam.c | 461 +++++++-------
src/backend/access/heap/rewriteheap.c | 2 +-
src/backend/access/heap/visibilitymap.c | 2 +-
src/backend/access/nbtree/nbtpage.c | 8 +-
src/backend/access/nbtree/nbtxlog.c | 22 +-
src/backend/access/rmgrdesc/clogdesc.c | 4 +-
src/backend/access/rmgrdesc/dbasedesc.c | 4 +-
src/backend/access/rmgrdesc/gindesc.c | 4 +-
src/backend/access/rmgrdesc/gistdesc.c | 4 +-
src/backend/access/rmgrdesc/hashdesc.c | 4 +-
src/backend/access/rmgrdesc/heapdesc.c | 4 +-
src/backend/access/rmgrdesc/mxactdesc.c | 4 +-
src/backend/access/rmgrdesc/nbtdesc.c | 4 +-
src/backend/access/rmgrdesc/relmapdesc.c | 4 +-
src/backend/access/rmgrdesc/seqdesc.c | 4 +-
src/backend/access/rmgrdesc/smgrdesc.c | 4 +-
src/backend/access/rmgrdesc/spgdesc.c | 4 +-
src/backend/access/rmgrdesc/standbydesc.c | 4 +-
src/backend/access/rmgrdesc/tblspcdesc.c | 4 +-
src/backend/access/rmgrdesc/xactdesc.c | 4 +-
src/backend/access/rmgrdesc/xlogdesc.c | 9 +-
src/backend/access/spgist/spgtextproc.c | 2 +-
src/backend/access/transam/multixact.c | 184 +++---
src/backend/access/transam/timeline.c | 21 +-
src/backend/access/transam/xact.c | 15 +-
src/backend/access/transam/xlog.c | 641 ++++++++++----------
src/backend/access/transam/xlogarchive.c | 41 +-
src/backend/access/transam/xlogfuncs.c | 10 +-
src/backend/access/transam/xlogreader.c | 6 +-
src/backend/bootstrap/bootstrap.c | 6 +-
src/backend/catalog/aclchk.c | 2 +-
src/backend/catalog/catalog.c | 2 +-
src/backend/catalog/dependency.c | 2 +-
src/backend/catalog/heap.c | 13 +-
src/backend/catalog/namespace.c | 7 +-
src/backend/catalog/objectaccess.c | 38 +-
src/backend/catalog/objectaddress.c | 79 +--
src/backend/catalog/pg_constraint.c | 4 +-
src/backend/catalog/pg_enum.c | 2 +-
src/backend/catalog/pg_operator.c | 10 +-
src/backend/catalog/pg_proc.c | 10 +-
src/backend/catalog/pg_shdepend.c | 2 +-
src/backend/catalog/storage.c | 13 +-
src/backend/commands/aggregatecmds.c | 6 +-
src/backend/commands/alter.c | 36 +-
src/backend/commands/async.c | 4 +-
src/backend/commands/cluster.c | 4 +-
src/backend/commands/copy.c | 57 +-
src/backend/commands/createas.c | 4 +-
src/backend/commands/dbcommands.c | 15 +-
src/backend/commands/event_trigger.c | 275 ++++-----
src/backend/commands/explain.c | 4 +-
src/backend/commands/functioncmds.c | 4 +-
src/backend/commands/indexcmds.c | 4 +-
src/backend/commands/matview.c | 12 +-
src/backend/commands/opclasscmds.c | 4 +-
src/backend/commands/operatorcmds.c | 16 +-
src/backend/commands/proclang.c | 4 +-
src/backend/commands/sequence.c | 8 +-
src/backend/commands/tablecmds.c | 50 +-
src/backend/commands/trigger.c | 10 +-
src/backend/commands/typecmds.c | 64 +-
src/backend/commands/user.c | 2 +-
src/backend/commands/vacuum.c | 20 +-
src/backend/commands/vacuumlazy.c | 61 +-
src/backend/executor/execMain.c | 39 +-
src/backend/executor/execQual.c | 2 +-
src/backend/executor/functions.c | 4 +-
src/backend/executor/nodeLockRows.c | 3 +-
src/backend/executor/nodeModifyTable.c | 36 +-
src/backend/executor/nodeSeqscan.c | 2 +-
src/backend/executor/spi.c | 8 +-
src/backend/lib/binaryheap.c | 4 +-
src/backend/libpq/auth.c | 30 +-
src/backend/libpq/hba.c | 38 +-
src/backend/libpq/pqcomm.c | 2 +-
src/backend/main/main.c | 8 +-
src/backend/optimizer/geqo/geqo_cx.c | 1 -
src/backend/optimizer/geqo/geqo_px.c | 1 -
src/backend/optimizer/path/allpaths.c | 2 +-
src/backend/optimizer/path/costsize.c | 4 +-
src/backend/optimizer/path/equivclass.c | 8 +-
src/backend/optimizer/path/indxpath.c | 24 +-
src/backend/optimizer/path/joinpath.c | 4 +-
src/backend/optimizer/plan/analyzejoins.c | 2 +-
src/backend/optimizer/plan/initsplan.c | 28 +-
src/backend/optimizer/plan/planagg.c | 4 +-
src/backend/optimizer/plan/planner.c | 55 +-
src/backend/optimizer/prep/prepjointree.c | 26 +-
src/backend/optimizer/util/clauses.c | 2 +-
src/backend/optimizer/util/pathnode.c | 13 +-
src/backend/parser/analyze.c | 28 +-
src/backend/parser/check_keywords.pl | 7 +-
src/backend/parser/parse_agg.c | 4 +-
src/backend/parser/parse_clause.c | 20 +-
src/backend/parser/parse_expr.c | 10 +-
src/backend/parser/parse_relation.c | 4 +-
src/backend/parser/parse_target.c | 4 +-
src/backend/parser/parse_utilcmd.c | 17 +-
src/backend/port/sysv_shmem.c | 50 +-
src/backend/postmaster/autovacuum.c | 22 +-
src/backend/postmaster/checkpointer.c | 6 +-
src/backend/postmaster/fork_process.c | 8 +-
src/backend/postmaster/pgarch.c | 2 +-
src/backend/postmaster/pgstat.c | 8 +-
src/backend/postmaster/postmaster.c | 48 +-
src/backend/postmaster/syslogger.c | 6 +-
src/backend/regex/regc_nfa.c | 4 +-
src/backend/regex/regprefix.c | 18 +-
src/backend/replication/basebackup.c | 64 +-
.../libpqwalreceiver/libpqwalreceiver.c | 11 +-
src/backend/replication/syncrep.c | 2 +-
src/backend/replication/walreceiver.c | 89 +--
src/backend/replication/walsender.c | 182 +++---
src/backend/rewrite/rewriteDefine.c | 14 +-
src/backend/rewrite/rewriteHandler.c | 94 +--
src/backend/rewrite/rewriteManip.c | 15 +-
src/backend/storage/buffer/bufmgr.c | 124 ++--
src/backend/storage/buffer/localbuf.c | 8 +-
src/backend/storage/ipc/procarray.c | 30 +-
src/backend/storage/ipc/standby.c | 8 +-
src/backend/storage/lmgr/lock.c | 34 +-
src/backend/storage/lmgr/predicate.c | 4 +-
src/backend/storage/lmgr/proc.c | 26 +-
src/backend/storage/lmgr/spin.c | 2 +-
src/backend/storage/page/bufpage.c | 36 +-
src/backend/storage/page/checksum.c | 17 +-
src/backend/storage/smgr/smgr.c | 21 +-
src/backend/tcop/postgres.c | 2 +-
src/backend/tcop/pquery.c | 2 +-
src/backend/tsearch/ts_selfuncs.c | 2 +-
src/backend/utils/adt/array_typanalyze.c | 4 +-
src/backend/utils/adt/arrayfuncs.c | 12 +-
src/backend/utils/adt/date.c | 4 +-
src/backend/utils/adt/datetime.c | 5 +-
src/backend/utils/adt/formatting.c | 11 +-
src/backend/utils/adt/json.c | 2 +-
src/backend/utils/adt/jsonfuncs.c | 10 +-
src/backend/utils/adt/misc.c | 10 +-
src/backend/utils/adt/numeric.c | 2 +-
src/backend/utils/adt/pg_locale.c | 10 +-
src/backend/utils/adt/pseudotypes.c | 2 +-
src/backend/utils/adt/rangetypes.c | 10 +-
src/backend/utils/adt/rangetypes_gist.c | 41 +-
src/backend/utils/adt/rangetypes_selfuncs.c | 165 ++---
src/backend/utils/adt/rangetypes_spgist.c | 74 ++-
src/backend/utils/adt/rangetypes_typanalyze.c | 50 +-
src/backend/utils/adt/regproc.c | 5 +-
src/backend/utils/adt/ri_triggers.c | 44 +-
src/backend/utils/adt/ruleutils.c | 18 +-
src/backend/utils/adt/selfuncs.c | 80 +--
src/backend/utils/adt/timestamp.c | 12 +-
src/backend/utils/adt/tsquery_rewrite.c | 2 -
src/backend/utils/adt/varlena.c | 6 +-
src/backend/utils/adt/xml.c | 7 +-
src/backend/utils/cache/catcache.c | 16 +-
src/backend/utils/cache/evtcache.c | 42 +-
src/backend/utils/cache/plancache.c | 14 +-
src/backend/utils/cache/relcache.c | 193 +++---
src/backend/utils/cache/syscache.c | 4 +-
src/backend/utils/error/elog.c | 4 +-
src/backend/utils/hash/dynahash.c | 12 +-
src/backend/utils/init/miscinit.c | 16 +-
src/backend/utils/init/postinit.c | 6 +-
src/backend/utils/mb/mbutils.c | 6 +-
src/backend/utils/mb/wchar.c | 20 +-
src/backend/utils/misc/guc.c | 4 +-
src/backend/utils/resowner/resowner.c | 10 +-
src/backend/utils/sort/tuplestore.c | 4 +-
src/backend/utils/time/tqual.c | 59 +-
src/bin/initdb/initdb.c | 60 +-
src/bin/pg_basebackup/pg_basebackup.c | 21 +-
src/bin/pg_basebackup/pg_receivexlog.c | 2 +-
src/bin/pg_basebackup/receivelog.c | 93 +--
src/bin/pg_basebackup/streamutil.c | 3 +-
src/bin/pg_ctl/pg_ctl.c | 15 +-
src/bin/pg_dump/parallel.c | 14 +-
src/bin/pg_dump/parallel.h | 4 +-
src/bin/pg_dump/pg_backup_archiver.c | 2 +-
src/bin/pg_dump/pg_backup_archiver.h | 4 +-
src/bin/pg_dump/pg_dump.c | 18 +-
src/bin/pg_dump/pg_dump.h | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 1 +
src/bin/pgevent/pgevent.c | 1 -
src/bin/psql/command.c | 6 +-
src/bin/psql/copy.c | 14 +-
src/bin/psql/create_help.pl | 3 +-
src/bin/psql/describe.c | 46 +-
src/bin/psql/print.c | 6 +-
src/bin/psql/startup.c | 12 +-
src/bin/psql/tab-complete.c | 14 +-
src/bin/scripts/pg_isready.c | 41 +-
src/common/fe_memutils.c | 20 +-
src/common/relpath.c | 5 +-
src/include/access/gist.h | 7 +-
src/include/access/heapam.h | 8 +-
src/include/access/heapam_xlog.h | 4 +-
src/include/access/htup_details.h | 10 +-
src/include/access/multixact.h | 6 +-
src/include/access/rmgr.h | 2 +-
src/include/access/sysattr.h | 1 -
src/include/access/timeline.h | 4 +-
src/include/access/xlog.h | 2 +-
src/include/access/xlog_internal.h | 16 +-
src/include/c.h | 23 +-
src/include/catalog/heap.h | 2 +-
src/include/catalog/indexing.h | 2 +-
src/include/catalog/objectaccess.h | 36 +-
src/include/catalog/objectaddress.h | 24 +-
src/include/catalog/pg_class.h | 2 +-
src/include/catalog/pg_constraint.h | 2 +-
src/include/catalog/pg_control.h | 4 +-
src/include/catalog/pg_enum.h | 4 +-
src/include/catalog/pg_event_trigger.h | 5 +-
src/include/catalog/pg_operator.h | 2 +-
src/include/catalog/pg_proc.h | 40 +-
src/include/catalog/pg_statistic.h | 2 +-
src/include/commands/alter.h | 6 +-
src/include/commands/collationcmds.h | 2 +-
src/include/commands/comment.h | 2 +-
src/include/commands/conversioncmds.h | 2 +-
src/include/commands/copy.h | 2 +-
src/include/commands/dbcommands.h | 10 +-
src/include/commands/defrem.h | 52 +-
src/include/commands/event_trigger.h | 12 +-
src/include/commands/extension.h | 8 +-
src/include/commands/matview.h | 2 +-
src/include/commands/proclang.h | 2 +-
src/include/commands/schemacmds.h | 4 +-
src/include/commands/seclabel.h | 2 +-
src/include/commands/sequence.h | 4 +-
src/include/commands/tablecmds.h | 8 +-
src/include/commands/tablespace.h | 6 +-
src/include/commands/trigger.h | 2 +-
src/include/commands/typecmds.h | 26 +-
src/include/commands/user.h | 8 +-
src/include/commands/view.h | 2 +-
src/include/common/fe_memutils.h | 2 +-
src/include/common/relpath.h | 4 +-
src/include/lib/binaryheap.h | 6 +-
src/include/libpq/hba.h | 4 +-
src/include/libpq/libpq.h | 2 +-
src/include/libpq/pqcomm.h | 2 +-
src/include/mb/pg_wchar.h | 99 +--
src/include/miscadmin.h | 6 +-
src/include/nodes/parsenodes.h | 5 +-
src/include/nodes/primnodes.h | 2 +-
src/include/nodes/relation.h | 14 +-
src/include/optimizer/planner.h | 2 +-
src/include/parser/parse_node.h | 66 +-
src/include/parser/parse_relation.h | 2 +-
src/include/port.h | 2 +-
src/include/port/win32.h | 2 +-
src/include/postgres.h | 2 +-
src/include/postmaster/bgworker.h | 18 +-
src/include/postmaster/postmaster.h | 4 +-
src/include/replication/walreceiver.h | 10 +-
src/include/rewrite/rewriteDefine.h | 2 +-
src/include/rewrite/rewriteManip.h | 2 +-
src/include/storage/bufpage.h | 6 +-
src/include/storage/large_object.h | 2 +-
src/include/storage/predicate_internals.h | 1 -
src/include/storage/relfilenode.h | 4 +-
src/include/storage/standby.h | 4 +-
src/include/tcop/utility.h | 12 +-
src/include/utils/builtins.h | 2 +-
src/include/utils/elog.h | 16 +-
src/include/utils/evtcache.h | 8 +-
src/include/utils/guc_tables.h | 1 -
src/include/utils/jsonapi.h | 5 +-
src/include/utils/palloc.h | 2 +-
src/include/utils/plancache.h | 10 +-
src/include/utils/rel.h | 33 +-
src/include/utils/reltrigger.h | 1 -
src/interfaces/ecpg/compatlib/informix.c | 1 -
src/interfaces/ecpg/ecpglib/typename.c | 2 +-
src/interfaces/ecpg/pgtypeslib/datetime.c | 1 -
src/interfaces/ecpg/pgtypeslib/interval.c | 1 -
src/interfaces/ecpg/pgtypeslib/numeric.c | 1 -
src/interfaces/ecpg/pgtypeslib/timestamp.c | 1 -
src/interfaces/ecpg/preproc/type.c | 4 +-
src/interfaces/libpq/fe-auth.c | 4 +-
src/interfaces/libpq/fe-connect.c | 8 +-
src/interfaces/libpq/fe-exec.c | 6 +-
src/interfaces/libpq/fe-print.c | 3 -
src/interfaces/libpq/fe-protocol3.c | 2 +
src/interfaces/libpq/libpq-events.h | 2 +-
src/pl/plperl/plperl.c | 7 +-
src/pl/plperl/plperl.h | 2 -
src/pl/plperl/plperl_helpers.h | 8 +-
src/pl/plpgsql/src/pl_scanner.c | 3 +-
src/pl/plpgsql/src/plpgsql.h | 2 +-
src/pl/plpython/plpy_elog.c | 4 +-
src/pl/plpython/plpy_util.c | 17 +-
src/port/pgcheckdir.c | 1 +
src/port/pqsignal.c | 2 +-
src/port/sprompt.c | 5 +-
src/port/wait_error.c | 2 +-
src/test/isolation/isolationtester.h | 2 +-
src/timezone/zic.c | 2 +-
src/tools/copyright.pl | 3 +-
src/tools/git_changelog | 281 +++++----
src/tools/msvc/Install.pm | 25 +-
src/tools/msvc/MSBuildProject.pm | 24 +-
src/tools/msvc/Mkvcbuild.pm | 24 +-
src/tools/msvc/Project.pm | 3 +-
src/tools/msvc/Solution.pm | 24 +-
src/tools/msvc/VCBuildProject.pm | 2 +-
src/tools/msvc/vcregress.pl | 11 +-
src/tools/pginclude/pgcheckdefines | 381 +++++++-----
src/tools/pgindent/README | 26 +-
src/tools/pgindent/pgindent | 23 +-
src/tools/pgindent/typedefs.list | 203 +++++--
367 files changed, 4216 insertions(+), 3823 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2013-05-30 02:08:18 | pgsql: postgresql.conf.sample: Improve whitespace |
Previous Message | Robert Haas | 2013-05-29 11:39:45 | pgsql: Document auto_explain.log_timing. |