pgsql: pgindent run for 9.4

Started by Bruce Momjianover 11 years ago16 messages
#1Bruce Momjian
bruce@momjian.us

pgindent run for 9.4

This includes removing tabs after periods in C comments, which was
applied to back branches, so this change should not effect backpatching.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0a7832005792fa6dad171f9cadb8d587fe0dd800

Modified Files
--------------
config/test_quiet_include.h | 6 +-
contrib/auto_explain/auto_explain.c | 2 +-
contrib/btree_gist/btree_interval.c | 2 +-
contrib/cube/cube.c | 85 +++---
contrib/cube/cubedata.h | 12 +-
contrib/dblink/dblink.c | 4 +-
contrib/earthdistance/earthdistance.c | 2 +-
contrib/file_fdw/file_fdw.c | 17 +-
contrib/fuzzystrmatch/levenshtein.c | 8 +-
contrib/hstore/hstore.h | 2 +-
contrib/hstore/hstore_gin.c | 4 +-
contrib/hstore/hstore_io.c | 15 +-
contrib/intarray/_int_bool.c | 2 +-
contrib/intarray/_int_gist.c | 4 +-
contrib/intarray/_int_tool.c | 4 +-
contrib/intarray/bench/bench.pl | 2 +-
contrib/ltree/ltree_op.c | 2 +-
contrib/oid2name/oid2name.c | 30 +-
contrib/pageinspect/rawpage.c | 3 +-
contrib/pg_archivecleanup/pg_archivecleanup.c | 4 +-
contrib/pg_prewarm/pg_prewarm.c | 2 +-
contrib/pg_stat_statements/pg_stat_statements.c | 28 +-
contrib/pg_test_fsync/pg_test_fsync.c | 13 +-
contrib/pg_trgm/trgm_gin.c | 2 +-
contrib/pg_trgm/trgm_gist.c | 2 +-
contrib/pg_trgm/trgm_regexp.c | 46 +--
contrib/pg_upgrade/check.c | 46 +--
contrib/pg_upgrade/controldata.c | 12 +-
contrib/pg_upgrade/dump.c | 4 +-
contrib/pg_upgrade/exec.c | 38 +--
contrib/pg_upgrade/file.c | 4 +-
contrib/pg_upgrade/function.c | 12 +-
contrib/pg_upgrade/info.c | 21 +-
contrib/pg_upgrade/option.c | 15 +-
contrib/pg_upgrade/page.c | 4 +-
contrib/pg_upgrade/parallel.c | 8 +-
contrib/pg_upgrade/pg_upgrade.c | 12 +-
contrib/pg_upgrade/pg_upgrade.h | 13 +-
contrib/pg_upgrade/relfilenode.c | 16 +-
contrib/pg_upgrade/server.c | 39 ++-
contrib/pg_upgrade/tablespace.c | 19 +-
contrib/pg_upgrade/util.c | 4 +-
contrib/pg_upgrade/version_old_8_3.c | 28 +-
contrib/pg_xlogdump/compat.c | 2 +-
contrib/pg_xlogdump/pg_xlogdump.c | 2 +-
contrib/pgbench/pgbench.c | 202 ++++++------
contrib/pgcrypto/crypt-des.c | 2 +-
contrib/pgcrypto/crypt-gensalt.c | 2 +-
contrib/pgcrypto/fortuna.c | 8 +-
contrib/pgcrypto/fortuna.h | 2 +-
contrib/pgcrypto/imath.c | 6 +-
contrib/pgcrypto/imath.h | 2 +-
contrib/pgcrypto/internal-sha2.c | 2 +-
contrib/pgcrypto/internal.c | 2 +-
contrib/pgcrypto/mbuf.c | 2 +-
contrib/pgcrypto/mbuf.h | 2 +-
contrib/pgcrypto/md5.c | 2 +-
contrib/pgcrypto/md5.h | 2 +-
contrib/pgcrypto/openssl.c | 6 +-
contrib/pgcrypto/pgcrypto.c | 2 +-
contrib/pgcrypto/pgcrypto.h | 2 +-
contrib/pgcrypto/pgp-armor.c | 2 +-
contrib/pgcrypto/pgp-cfb.c | 4 +-
contrib/pgcrypto/pgp-compress.c | 2 +-
contrib/pgcrypto/pgp-decrypt.c | 2 +-
contrib/pgcrypto/pgp-encrypt.c | 2 +-
contrib/pgcrypto/pgp-info.c | 2 +-
contrib/pgcrypto/pgp-mpi-internal.c | 4 +-
contrib/pgcrypto/pgp-mpi-openssl.c | 4 +-
contrib/pgcrypto/pgp-mpi.c | 2 +-
contrib/pgcrypto/pgp-pgsql.c | 6 +-
contrib/pgcrypto/pgp-pubdec.c | 2 +-
contrib/pgcrypto/pgp-pubenc.c | 2 +-
contrib/pgcrypto/pgp-pubkey.c | 2 +-
contrib/pgcrypto/pgp-s2k.c | 2 +-
contrib/pgcrypto/pgp.c | 2 +-
contrib/pgcrypto/pgp.h | 2 +-
contrib/pgcrypto/px-crypt.c | 2 +-
contrib/pgcrypto/px-crypt.h | 2 +-
contrib/pgcrypto/px-hmac.c | 2 +-
contrib/pgcrypto/px.c | 2 +-
contrib/pgcrypto/px.h | 2 +-
contrib/pgcrypto/random.c | 2 +-
contrib/pgcrypto/rijndael.c | 6 +-
contrib/pgcrypto/rijndael.h | 4 +-
contrib/pgcrypto/sha1.c | 2 +-
contrib/pgcrypto/sha1.h | 2 +-
contrib/pgcrypto/sha2.c | 2 +-
contrib/pgcrypto/sha2.h | 2 +-
contrib/pgstattuple/pgstatindex.c | 14 +-
contrib/pgstattuple/pgstattuple.c | 2 +-
contrib/postgres_fdw/connection.c | 12 +-
contrib/postgres_fdw/deparse.c | 18 +-
contrib/postgres_fdw/option.c | 2 +-
contrib/postgres_fdw/postgres_fdw.c | 40 +--
contrib/sepgsql/label.c | 4 +-
contrib/sepgsql/uavc.c | 2 +-
contrib/spi/timetravel.c | 6 +-
contrib/sslinfo/sslinfo.c | 2 +-
contrib/tcn/tcn.c | 2 +-
contrib/test_decoding/test_decoding.c | 29 +-
contrib/test_shm_mq/setup.c | 60 ++--
contrib/test_shm_mq/test.c | 31 +-
contrib/test_shm_mq/test_shm_mq.h | 14 +-
contrib/test_shm_mq/worker.c | 28 +-
contrib/worker_spi/worker_spi.c | 10 +-
contrib/xml2/xpath.c | 2 +-
src/backend/access/common/heaptuple.c | 10 +-
src/backend/access/common/indextuple.c | 6 +-
src/backend/access/common/printtup.c | 2 +-
src/backend/access/common/reloptions.c | 6 +-
src/backend/access/common/tupconvert.c | 2 +-
src/backend/access/common/tupdesc.c | 2 +-
src/backend/access/gin/ginarrayproc.c | 5 +-
src/backend/access/gin/ginbtree.c | 27 +-
src/backend/access/gin/ginbulk.c | 2 +-
src/backend/access/gin/gindatapage.c | 96 +++---
src/backend/access/gin/ginentrypage.c | 7 +-
src/backend/access/gin/ginfast.c | 8 +-
src/backend/access/gin/ginget.c | 83 ++---
src/backend/access/gin/gininsert.c | 2 +-
src/backend/access/gin/ginlogic.c | 39 +--
src/backend/access/gin/ginpostinglist.c | 16 +-
src/backend/access/gin/ginscan.c | 2 +-
src/backend/access/gin/ginutil.c | 7 +-
src/backend/access/gin/ginvacuum.c | 21 +-
src/backend/access/gin/ginxlog.c | 20 +-
src/backend/access/gist/gist.c | 2 +-
src/backend/access/gist/gistget.c | 6 +-
src/backend/access/gist/gistscan.c | 2 +-
src/backend/access/gist/gistsplit.c | 10 +-
src/backend/access/gist/gistutil.c | 8 +-
src/backend/access/gist/gistvacuum.c | 2 +-
src/backend/access/gist/gistxlog.c | 5 +-
src/backend/access/hash/hash.c | 8 +-
src/backend/access/hash/hashfunc.c | 10 +-
src/backend/access/hash/hashinsert.c | 2 +-
src/backend/access/hash/hashovfl.c | 16 +-
src/backend/access/hash/hashpage.c | 16 +-
src/backend/access/hash/hashsearch.c | 4 +-
src/backend/access/hash/hashsort.c | 4 +-
src/backend/access/hash/hashutil.c | 4 +-
src/backend/access/heap/heapam.c | 286 ++++++++---------
src/backend/access/heap/hio.c | 20 +-
src/backend/access/heap/pruneheap.c | 17 +-
src/backend/access/heap/rewriteheap.c | 90 +++---
src/backend/access/heap/syncscan.c | 6 +-
src/backend/access/heap/tuptoaster.c | 48 +--
src/backend/access/heap/visibilitymap.c | 20 +-
src/backend/access/index/genam.c | 12 +-
src/backend/access/index/indexam.c | 14 +-
src/backend/access/nbtree/nbtcompare.c | 2 +-
src/backend/access/nbtree/nbtinsert.c | 47 ++-
src/backend/access/nbtree/nbtpage.c | 102 ++++---
src/backend/access/nbtree/nbtree.c | 8 +-
src/backend/access/nbtree/nbtsearch.c | 28 +-
src/backend/access/nbtree/nbtsort.c | 24 +-
src/backend/access/nbtree/nbtutils.c | 52 ++--
src/backend/access/nbtree/nbtxlog.c | 43 +--
src/backend/access/rmgrdesc/gindesc.c | 24 +-
src/backend/access/rmgrdesc/nbtdesc.c | 2 +-
src/backend/access/spgist/spgdoinsert.c | 14 +-
src/backend/access/spgist/spginsert.c | 4 +-
src/backend/access/spgist/spgscan.c | 4 +-
src/backend/access/spgist/spgtextproc.c | 8 +-
src/backend/access/spgist/spgutils.c | 6 +-
src/backend/access/spgist/spgvacuum.c | 4 +-
src/backend/access/spgist/spgxlog.c | 6 +-
src/backend/access/transam/clog.c | 10 +-
src/backend/access/transam/multixact.c | 108 +++----
src/backend/access/transam/slru.c | 20 +-
src/backend/access/transam/subtrans.c | 4 +-
src/backend/access/transam/timeline.c | 8 +-
src/backend/access/transam/transam.c | 4 +-
src/backend/access/transam/twophase.c | 14 +-
src/backend/access/transam/varsup.c | 12 +-
src/backend/access/transam/xact.c | 70 ++---
src/backend/access/transam/xlog.c | 323 ++++++++++----------
src/backend/access/transam/xlogarchive.c | 4 +-
src/backend/access/transam/xlogfuncs.c | 2 +-
src/backend/access/transam/xlogreader.c | 8 +-
src/backend/bootstrap/bootstrap.c | 16 +-
src/backend/catalog/aclchk.c | 18 +-
src/backend/catalog/catalog.c | 8 +-
src/backend/catalog/dependency.c | 36 +--
src/backend/catalog/heap.c | 34 +--
src/backend/catalog/index.c | 110 +++----
src/backend/catalog/indexing.c | 2 +-
src/backend/catalog/namespace.c | 54 ++--
src/backend/catalog/objectaddress.c | 4 +-
src/backend/catalog/pg_aggregate.c | 6 +-
src/backend/catalog/pg_collation.c | 2 +-
src/backend/catalog/pg_constraint.c | 10 +-
src/backend/catalog/pg_db_role_setting.c | 2 +-
src/backend/catalog/pg_depend.c | 8 +-
src/backend/catalog/pg_enum.c | 2 +-
src/backend/catalog/pg_largeobject.c | 2 +-
src/backend/catalog/pg_operator.c | 4 +-
src/backend/catalog/pg_proc.c | 8 +-
src/backend/catalog/pg_shdepend.c | 18 +-
src/backend/catalog/pg_type.c | 2 +-
src/backend/catalog/storage.c | 6 +-
src/backend/catalog/toasting.c | 12 +-
src/backend/commands/aggregatecmds.c | 4 +-
src/backend/commands/alter.c | 2 +-
src/backend/commands/analyze.c | 46 +--
src/backend/commands/async.c | 32 +-
src/backend/commands/cluster.c | 63 ++--
src/backend/commands/constraint.c | 4 +-
src/backend/commands/copy.c | 83 ++---
src/backend/commands/createas.c | 12 +-
src/backend/commands/dbcommands.c | 15 +-
src/backend/commands/define.c | 2 +-
src/backend/commands/event_trigger.c | 14 +-
src/backend/commands/explain.c | 21 +-
src/backend/commands/extension.c | 30 +-
src/backend/commands/foreigncmds.c | 4 +-
src/backend/commands/functioncmds.c | 12 +-
src/backend/commands/indexcmds.c | 46 +--
src/backend/commands/matview.c | 16 +-
src/backend/commands/opclasscmds.c | 8 +-
src/backend/commands/operatorcmds.c | 2 +-
src/backend/commands/portalcmds.c | 8 +-
src/backend/commands/prepare.c | 10 +-
src/backend/commands/proclang.c | 2 +-
src/backend/commands/schemacmds.c | 4 +-
src/backend/commands/sequence.c | 32 +-
src/backend/commands/tablecmds.c | 246 +++++++--------
src/backend/commands/tablespace.c | 26 +-
src/backend/commands/trigger.c | 59 ++--
src/backend/commands/typecmds.c | 30 +-
src/backend/commands/user.c | 8 +-
src/backend/commands/vacuum.c | 42 +--
src/backend/commands/vacuumlazy.c | 26 +-
src/backend/commands/variable.c | 12 +-
src/backend/commands/view.c | 14 +-
src/backend/executor/execAmi.c | 4 +-
src/backend/executor/execCurrent.c | 2 +-
src/backend/executor/execJunk.c | 2 +-
src/backend/executor/execMain.c | 35 +--
src/backend/executor/execProcnode.c | 4 +-
src/backend/executor/execQual.c | 48 +--
src/backend/executor/execScan.c | 4 +-
src/backend/executor/execTuples.c | 12 +-
src/backend/executor/execUtils.c | 22 +-
src/backend/executor/functions.c | 34 +--
src/backend/executor/nodeAgg.c | 58 ++--
src/backend/executor/nodeAppend.c | 2 +-
src/backend/executor/nodeBitmapHeapscan.c | 4 +-
src/backend/executor/nodeForeignscan.c | 2 +-
src/backend/executor/nodeFunctionscan.c | 6 +-
src/backend/executor/nodeHash.c | 16 +-
src/backend/executor/nodeHashjoin.c | 6 +-
src/backend/executor/nodeIndexonlyscan.c | 6 +-
src/backend/executor/nodeIndexscan.c | 4 +-
src/backend/executor/nodeLimit.c | 2 +-
src/backend/executor/nodeLockRows.c | 8 +-
src/backend/executor/nodeMaterial.c | 2 +-
src/backend/executor/nodeMergeAppend.c | 2 +-
src/backend/executor/nodeMergejoin.c | 12 +-
src/backend/executor/nodeModifyTable.c | 26 +-
src/backend/executor/nodeRecursiveunion.c | 2 +-
src/backend/executor/nodeSetOp.c | 6 +-
src/backend/executor/nodeSubplan.c | 10 +-
src/backend/executor/nodeSubqueryscan.c | 2 +-
src/backend/executor/nodeUnique.c | 2 +-
src/backend/executor/nodeValuesscan.c | 2 +-
src/backend/executor/nodeWindowAgg.c | 38 +--
src/backend/executor/nodeWorktablescan.c | 2 +-
src/backend/executor/spi.c | 12 +-
src/backend/executor/tstoreReceiver.c | 2 +-
src/backend/lib/stringinfo.c | 4 +-
src/backend/libpq/auth.c | 18 +-
src/backend/libpq/be-fsstubs.c | 6 +-
src/backend/libpq/be-secure.c | 6 +-
src/backend/libpq/hba.c | 4 +-
src/backend/libpq/md5.c | 2 +-
src/backend/libpq/pqcomm.c | 5 +-
src/backend/libpq/pqformat.c | 2 +-
src/backend/main/main.c | 12 +-
src/backend/nodes/bitmapset.c | 4 +-
src/backend/nodes/copyfuncs.c | 8 +-
src/backend/nodes/equalfuncs.c | 14 +-
src/backend/nodes/list.c | 4 +-
src/backend/nodes/makefuncs.c | 2 +-
src/backend/nodes/nodeFuncs.c | 16 +-
src/backend/nodes/outfuncs.c | 6 +-
src/backend/nodes/params.c | 2 +-
src/backend/nodes/read.c | 10 +-
src/backend/nodes/readfuncs.c | 14 +-
src/backend/nodes/tidbitmap.c | 18 +-
src/backend/optimizer/geqo/geqo_eval.c | 10 +-
src/backend/optimizer/path/allpaths.c | 30 +-
src/backend/optimizer/path/clausesel.c | 20 +-
src/backend/optimizer/path/costsize.c | 76 ++---
src/backend/optimizer/path/equivclass.c | 62 ++--
src/backend/optimizer/path/indxpath.c | 76 ++---
src/backend/optimizer/path/joinpath.c | 26 +-
src/backend/optimizer/path/joinrels.c | 12 +-
src/backend/optimizer/path/pathkeys.c | 34 +--
src/backend/optimizer/path/tidpath.c | 4 +-
src/backend/optimizer/plan/analyzejoins.c | 10 +-
src/backend/optimizer/plan/createplan.c | 46 +--
src/backend/optimizer/plan/initsplan.c | 58 ++--
src/backend/optimizer/plan/planagg.c | 8 +-
src/backend/optimizer/plan/planmain.c | 12 +-
src/backend/optimizer/plan/planner.c | 73 ++---
src/backend/optimizer/plan/setrefs.c | 20 +-
src/backend/optimizer/plan/subselect.c | 40 +--
src/backend/optimizer/prep/prepjointree.c | 42 +--
src/backend/optimizer/prep/prepqual.c | 12 +-
src/backend/optimizer/prep/prepsecurity.c | 52 ++--
src/backend/optimizer/prep/preptlist.c | 12 +-
src/backend/optimizer/prep/prepunion.c | 17 +-
src/backend/optimizer/util/clauses.c | 68 ++---
src/backend/optimizer/util/joininfo.c | 2 +-
src/backend/optimizer/util/orclauses.c | 14 +-
src/backend/optimizer/util/pathnode.c | 26 +-
src/backend/optimizer/util/placeholder.c | 4 +-
src/backend/optimizer/util/plancat.c | 10 +-
src/backend/optimizer/util/predtest.c | 22 +-
src/backend/optimizer/util/relnode.c | 18 +-
src/backend/optimizer/util/restrictinfo.c | 2 +-
src/backend/optimizer/util/tlist.c | 2 +-
src/backend/optimizer/util/var.c | 14 +-
src/backend/parser/analyze.c | 116 +++----
src/backend/parser/kwlookup.c | 2 +-
src/backend/parser/parse_agg.c | 10 +-
src/backend/parser/parse_clause.c | 47 +--
src/backend/parser/parse_coerce.c | 46 +--
src/backend/parser/parse_collate.c | 16 +-
src/backend/parser/parse_cte.c | 8 +-
src/backend/parser/parse_expr.c | 24 +-
src/backend/parser/parse_func.c | 26 +-
src/backend/parser/parse_node.c | 10 +-
src/backend/parser/parse_oper.c | 4 +-
src/backend/parser/parse_param.c | 2 +-
src/backend/parser/parse_relation.c | 26 +-
src/backend/parser/parse_target.c | 24 +-
src/backend/parser/parse_type.c | 20 +-
src/backend/parser/parse_utilcmd.c | 20 +-
src/backend/parser/parser.c | 2 +-
src/backend/parser/scansup.c | 6 +-
src/backend/port/darwin/system.c | 2 +-
src/backend/port/dynloader/darwin.c | 2 +-
src/backend/port/dynloader/freebsd.c | 2 +-
src/backend/port/dynloader/netbsd.c | 2 +-
src/backend/port/dynloader/openbsd.c | 2 +-
src/backend/port/posix_sema.c | 2 +-
src/backend/port/sysv_sema.c | 14 +-
src/backend/port/sysv_shmem.c | 20 +-
src/backend/port/unix_latch.c | 6 +-
src/backend/port/win32/socket.c | 4 +-
src/backend/port/win32_latch.c | 2 +-
src/backend/port/win32_shmem.c | 2 +-
src/backend/postmaster/autovacuum.c | 46 +--
src/backend/postmaster/bgworker.c | 132 ++++----
src/backend/postmaster/bgwriter.c | 35 +--
src/backend/postmaster/checkpointer.c | 24 +-
src/backend/postmaster/fork_process.c | 2 +-
src/backend/postmaster/pgarch.c | 14 +-
src/backend/postmaster/pgstat.c | 50 +--
src/backend/postmaster/postmaster.c | 132 ++++----
src/backend/postmaster/startup.c | 2 +-
src/backend/postmaster/syslogger.c | 19 +-
src/backend/postmaster/walwriter.c | 8 +-
src/backend/regex/regc_color.c | 2 +-
src/backend/regex/regc_cvec.c | 2 +-
src/backend/regex/regc_lex.c | 2 +-
src/backend/regex/regc_locale.c | 6 +-
src/backend/regex/regc_nfa.c | 6 +-
src/backend/regex/regc_pg_locale.c | 12 +-
src/backend/regex/regcomp.c | 8 +-
src/backend/regex/rege_dfa.c | 2 +-
src/backend/regex/regerror.c | 2 +-
src/backend/regex/regexec.c | 18 +-
src/backend/regex/regfree.c | 2 +-
src/backend/regex/regprefix.c | 8 +-
src/backend/replication/basebackup.c | 20 +-
.../libpqwalreceiver/libpqwalreceiver.c | 2 +-
src/backend/replication/logical/decode.c | 77 ++---
src/backend/replication/logical/logical.c | 135 ++++----
src/backend/replication/logical/logicalfuncs.c | 25 +-
src/backend/replication/logical/reorderbuffer.c | 82 ++---
src/backend/replication/logical/snapbuild.c | 138 ++++-----
src/backend/replication/slot.c | 91 +++---
src/backend/replication/slotfuncs.c | 9 +-
src/backend/replication/syncrep.c | 6 +-
src/backend/replication/walreceiver.c | 10 +-
src/backend/replication/walreceiverfuncs.c | 2 +-
src/backend/replication/walsender.c | 164 +++++-----
src/backend/rewrite/rewriteDefine.c | 8 +-
src/backend/rewrite/rewriteHandler.c | 85 +++---
src/backend/rewrite/rewriteManip.c | 18 +-
src/backend/rewrite/rewriteSupport.c | 2 +-
src/backend/storage/buffer/buf_init.c | 4 +-
src/backend/storage/buffer/buf_table.c | 4 +-
src/backend/storage/buffer/bufmgr.c | 38 +--
src/backend/storage/buffer/freelist.c | 12 +-
src/backend/storage/buffer/localbuf.c | 6 +-
src/backend/storage/file/buffile.c | 6 +-
src/backend/storage/file/fd.c | 26 +-
src/backend/storage/freespace/freespace.c | 4 +-
src/backend/storage/freespace/fsmpage.c | 4 +-
src/backend/storage/ipc/dsm.c | 156 +++++-----
src/backend/storage/ipc/dsm_impl.c | 323 ++++++++++----------
src/backend/storage/ipc/ipc.c | 28 +-
src/backend/storage/ipc/ipci.c | 4 +-
src/backend/storage/ipc/pmsignal.c | 6 +-
src/backend/storage/ipc/procarray.c | 32 +-
src/backend/storage/ipc/procsignal.c | 2 +-
src/backend/storage/ipc/shm_mq.c | 131 ++++----
src/backend/storage/ipc/shm_toc.c | 26 +-
src/backend/storage/ipc/shmem.c | 16 +-
src/backend/storage/ipc/shmqueue.c | 2 +-
src/backend/storage/ipc/sinval.c | 12 +-
src/backend/storage/ipc/sinvaladt.c | 22 +-
src/backend/storage/ipc/standby.c | 16 +-
src/backend/storage/large_object/inv_api.c | 10 +-
src/backend/storage/lmgr/deadlock.c | 18 +-
src/backend/storage/lmgr/lmgr.c | 14 +-
src/backend/storage/lmgr/lock.c | 40 +--
src/backend/storage/lmgr/lwlock.c | 46 +--
src/backend/storage/lmgr/predicate.c | 56 ++--
src/backend/storage/lmgr/proc.c | 32 +-
src/backend/storage/lmgr/s_lock.c | 6 +-
src/backend/storage/lmgr/spin.c | 6 +-
src/backend/storage/page/bufpage.c | 10 +-
src/backend/storage/smgr/md.c | 32 +-
src/backend/storage/smgr/smgr.c | 4 +-
src/backend/tcop/fastpath.c | 10 +-
src/backend/tcop/postgres.c | 32 +-
src/backend/tcop/pquery.c | 14 +-
src/backend/tcop/utility.c | 4 +-
src/backend/tsearch/ts_locale.c | 4 +-
src/backend/tsearch/ts_selfuncs.c | 2 +-
src/backend/tsearch/ts_typanalyze.c | 14 +-
src/backend/tsearch/ts_utils.c | 8 +-
src/backend/tsearch/wparser_def.c | 2 +-
src/backend/utils/adt/acl.c | 21 +-
src/backend/utils/adt/array_selfuncs.c | 20 +-
src/backend/utils/adt/array_typanalyze.c | 14 +-
src/backend/utils/adt/array_userfuncs.c | 4 +-
src/backend/utils/adt/arrayfuncs.c | 27 +-
src/backend/utils/adt/arrayutils.c | 2 +-
src/backend/utils/adt/cash.c | 92 +++---
src/backend/utils/adt/char.c | 2 +-
src/backend/utils/adt/date.c | 6 +-
src/backend/utils/adt/datetime.c | 34 ++-
src/backend/utils/adt/datum.c | 2 +-
src/backend/utils/adt/dbsize.c | 3 +-
src/backend/utils/adt/domains.c | 8 +-
src/backend/utils/adt/float.c | 6 +-
src/backend/utils/adt/format_type.c | 6 +-
src/backend/utils/adt/formatting.c | 4 +-
src/backend/utils/adt/geo_ops.c | 11 +-
src/backend/utils/adt/geo_selfuncs.c | 4 +-
src/backend/utils/adt/inet_cidr_ntop.c | 2 +-
src/backend/utils/adt/int.c | 30 +-
src/backend/utils/adt/int8.c | 44 +--
src/backend/utils/adt/json.c | 12 +-
src/backend/utils/adt/jsonb.c | 26 +-
src/backend/utils/adt/jsonb_gin.c | 80 ++---
src/backend/utils/adt/jsonb_op.c | 13 +-
src/backend/utils/adt/jsonb_util.c | 257 ++++++++--------
src/backend/utils/adt/jsonfuncs.c | 35 +--
src/backend/utils/adt/like.c | 4 +-
src/backend/utils/adt/misc.c | 14 +-
src/backend/utils/adt/nabstime.c | 36 ++-
src/backend/utils/adt/network.c | 12 +-
src/backend/utils/adt/network_gist.c | 10 +-
src/backend/utils/adt/numeric.c | 63 ++--
src/backend/utils/adt/oid.c | 2 +-
src/backend/utils/adt/orderedsetaggs.c | 8 +-
src/backend/utils/adt/pg_locale.c | 29 +-
src/backend/utils/adt/pg_lsn.c | 43 +--
src/backend/utils/adt/pg_lzcompress.c | 12 +-
src/backend/utils/adt/pgstatfuncs.c | 2 +-
src/backend/utils/adt/pseudotypes.c | 6 +-
src/backend/utils/adt/rangetypes.c | 8 +-
src/backend/utils/adt/rangetypes_gist.c | 8 +-
src/backend/utils/adt/regexp.c | 6 +-
src/backend/utils/adt/regproc.c | 26 +-
src/backend/utils/adt/ri_triggers.c | 14 +-
src/backend/utils/adt/rowtypes.c | 31 +-
src/backend/utils/adt/ruleutils.c | 98 +++---
src/backend/utils/adt/selfuncs.c | 143 ++++-----
src/backend/utils/adt/timestamp.c | 36 +--
src/backend/utils/adt/tsginidx.c | 13 +-
src/backend/utils/adt/varchar.c | 4 +-
src/backend/utils/adt/varlena.c | 42 +--
src/backend/utils/adt/xml.c | 64 ++--
src/backend/utils/cache/attoptcache.c | 2 +-
src/backend/utils/cache/catcache.c | 21 +-
src/backend/utils/cache/inval.c | 30 +-
src/backend/utils/cache/lsyscache.c | 10 +-
src/backend/utils/cache/plancache.c | 42 +--
src/backend/utils/cache/relcache.c | 122 ++++----
src/backend/utils/cache/relfilenodemap.c | 13 +-
src/backend/utils/cache/relmapper.c | 20 +-
src/backend/utils/cache/spccache.c | 6 +-
src/backend/utils/cache/syscache.c | 21 +-
src/backend/utils/cache/typcache.c | 8 +-
src/backend/utils/error/elog.c | 99 +++---
src/backend/utils/fmgr/dfmgr.c | 6 +-
src/backend/utils/fmgr/fmgr.c | 18 +-
src/backend/utils/fmgr/funcapi.c | 10 +-
src/backend/utils/hash/dynahash.c | 28 +-
src/backend/utils/init/miscinit.c | 30 +-
src/backend/utils/init/postinit.c | 18 +-
.../mb/conversion_procs/euc_tw_and_big5/big5.c | 2 +-
src/backend/utils/mb/mbutils.c | 18 +-
src/backend/utils/mb/wchar.c | 8 +-
src/backend/utils/mb/wstrcmp.c | 2 +-
src/backend/utils/mb/wstrncmp.c | 2 +-
src/backend/utils/misc/guc.c | 67 ++--
src/backend/utils/misc/ps_status.c | 6 +-
src/backend/utils/misc/rbtree.c | 12 +-
src/backend/utils/misc/timeout.c | 22 +-
src/backend/utils/misc/tzparser.c | 4 +-
src/backend/utils/mmgr/aset.c | 16 +-
src/backend/utils/mmgr/mcxt.c | 16 +-
src/backend/utils/mmgr/portalmem.c | 18 +-
src/backend/utils/resowner/resowner.c | 8 +-
src/backend/utils/sort/logtape.c | 30 +-
src/backend/utils/sort/tuplesort.c | 77 ++---
src/backend/utils/sort/tuplestore.c | 28 +-
src/backend/utils/time/combocid.c | 6 +-
src/backend/utils/time/snapmgr.c | 38 ++-
src/backend/utils/time/tqual.c | 57 ++--
src/bin/initdb/findtimezone.c | 6 +-
src/bin/initdb/initdb.c | 25 +-
src/bin/initdb/t/001_initdb.pl | 29 +-
src/bin/pg_basebackup/pg_basebackup.c | 70 +++--
src/bin/pg_basebackup/pg_receivexlog.c | 6 +-
src/bin/pg_basebackup/pg_recvlogical.c | 50 +--
src/bin/pg_basebackup/receivelog.c | 10 +-
src/bin/pg_basebackup/streamutil.c | 6 +-
src/bin/pg_basebackup/streamutil.h | 4 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 94 +++---
src/bin/pg_config/t/001_pg_config.pl | 12 +-
src/bin/pg_controldata/pg_controldata.c | 2 +-
src/bin/pg_controldata/t/001_pg_controldata.pl | 6 +-
src/bin/pg_ctl/pg_ctl.c | 48 +--
src/bin/pg_ctl/t/001_start_stop.pl | 20 +-
src/bin/pg_ctl/t/002_status.pl | 9 +-
src/bin/pg_dump/common.c | 4 +-
src/bin/pg_dump/compress_io.c | 8 +-
src/bin/pg_dump/dumputils.c | 16 +-
src/bin/pg_dump/parallel.c | 12 +-
src/bin/pg_dump/pg_backup.h | 2 +-
src/bin/pg_dump/pg_backup_archiver.c | 55 ++--
src/bin/pg_dump/pg_backup_archiver.h | 2 +-
src/bin/pg_dump/pg_backup_custom.c | 2 +-
src/bin/pg_dump/pg_backup_db.c | 4 +-
src/bin/pg_dump/pg_backup_directory.c | 8 +-
src/bin/pg_dump/pg_backup_tar.c | 4 +-
src/bin/pg_dump/pg_dump.c | 162 +++++-----
src/bin/pg_dump/pg_dump.h | 8 +-
src/bin/pg_dump/pg_dump_sort.c | 24 +-
src/bin/pg_dump/pg_dumpall.c | 8 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 4 +-
src/bin/psql/command.c | 26 +-
src/bin/psql/common.c | 2 +-
src/bin/psql/copy.c | 7 +-
src/bin/psql/describe.c | 57 ++--
src/bin/psql/input.c | 6 +-
src/bin/psql/large_obj.c | 2 +-
src/bin/psql/mainloop.c | 4 +-
src/bin/psql/mbprint.c | 2 +-
src/bin/psql/print.c | 60 ++--
src/bin/psql/settings.h | 2 +-
src/bin/psql/stringutils.c | 12 +-
src/bin/psql/tab-complete.c | 22 +-
src/bin/psql/variables.c | 2 +-
src/bin/scripts/common.c | 2 +-
src/bin/scripts/createuser.c | 1 +
src/bin/scripts/pg_isready.c | 2 +-
src/bin/scripts/t/010_clusterdb.pl | 16 +-
src/bin/scripts/t/011_clusterdb_all.pl | 5 +-
src/bin/scripts/t/020_createdb.pl | 12 +-
src/bin/scripts/t/030_createlang.pl | 12 +-
src/bin/scripts/t/040_createuser.pl | 30 +-
src/bin/scripts/t/050_dropdb.pl | 7 +-
src/bin/scripts/t/060_droplang.pl | 9 +-
src/bin/scripts/t/070_dropuser.pl | 7 +-
src/bin/scripts/t/090_reindexdb.pl | 23 +-
src/bin/scripts/t/091_reindexdb_all.pl | 5 +-
src/bin/scripts/t/100_vacuumdb.pl | 25 +-
src/bin/scripts/t/101_vacuumdb_all.pl | 5 +-
src/bin/scripts/t/102_vacuumdb_stages.pl | 7 +-
src/bin/scripts/vacuumdb.c | 10 +-
src/common/psprintf.c | 9 +-
src/common/relpath.c | 2 +-
src/include/access/attnum.h | 2 +-
src/include/access/genam.h | 4 +-
src/include/access/gin.h | 8 +-
src/include/access/gin_private.h | 65 ++--
src/include/access/gist.h | 4 +-
src/include/access/hash.h | 2 +-
src/include/access/heapam.h | 4 +-
src/include/access/heapam_xlog.h | 38 +--
src/include/access/htup.h | 4 +-
src/include/access/htup_details.h | 16 +-
src/include/access/itup.h | 2 +-
src/include/access/nbtree.h | 50 +--
src/include/access/reloptions.h | 2 +-
src/include/access/rewriteheap.h | 10 +-
src/include/access/rmgr.h | 2 +-
src/include/access/rmgrlist.h | 2 +-
src/include/access/skey.h | 4 +-
src/include/access/slru.h | 6 +-
src/include/access/spgist_private.h | 2 +-
src/include/access/transam.h | 2 +-
src/include/access/tupdesc.h | 2 +-
src/include/access/tupmacs.h | 4 +-
src/include/access/tuptoaster.h | 6 +-
src/include/access/xlog.h | 6 +-
src/include/access/xlog_internal.h | 4 +-
src/include/access/xlogdefs.h | 4 +-
src/include/c.h | 24 +-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/dependency.h | 2 +-
src/include/catalog/duplicate_oids | 18 +-
src/include/catalog/genbki.h | 2 +-
src/include/catalog/namespace.h | 2 +-
src/include/catalog/objectaccess.h | 2 +-
src/include/catalog/pg_aggregate.h | 2 +-
src/include/catalog/pg_attrdef.h | 2 +-
src/include/catalog/pg_attribute.h | 2 +-
src/include/catalog/pg_authid.h | 2 +-
src/include/catalog/pg_constraint.h | 6 +-
src/include/catalog/pg_control.h | 4 +-
src/include/catalog/pg_db_role_setting.h | 2 +-
src/include/catalog/pg_default_acl.h | 4 +-
src/include/catalog/pg_description.h | 6 +-
src/include/catalog/pg_event_trigger.h | 2 +-
src/include/catalog/pg_index.h | 2 +-
src/include/catalog/pg_largeobject.h | 2 +-
src/include/catalog/pg_opclass.h | 6 +-
src/include/catalog/pg_proc.h | 22 +-
src/include/catalog/pg_rewrite.h | 2 +-
src/include/catalog/pg_shdepend.h | 2 +-
src/include/catalog/pg_shdescription.h | 4 +-
src/include/catalog/pg_statistic.h | 28 +-
src/include/catalog/pg_trigger.h | 2 +-
src/include/catalog/pg_ts_dict.h | 2 +-
src/include/catalog/pg_ts_template.h | 2 +-
src/include/catalog/pg_type.h | 12 +-
src/include/catalog/toasting.h | 4 +-
src/include/commands/comment.h | 2 +-
src/include/commands/tablecmds.h | 2 +-
src/include/commands/vacuum.h | 6 +-
src/include/common/fe_memutils.h | 6 +-
src/include/common/relpath.h | 2 +-
src/include/datatype/timestamp.h | 4 +-
src/include/executor/executor.h | 4 +-
src/include/executor/hashjoin.h | 4 +-
src/include/executor/spi_priv.h | 2 +-
src/include/executor/tuptable.h | 12 +-
src/include/fmgr.h | 18 +-
src/include/funcapi.h | 2 +-
src/include/lib/ilist.h | 16 +-
src/include/lib/stringinfo.h | 4 +-
src/include/libpq/libpq-be.h | 8 +-
src/include/libpq/pqcomm.h | 4 +-
src/include/mb/pg_wchar.h | 10 +-
src/include/miscadmin.h | 18 +-
src/include/nodes/execnodes.h | 20 +-
src/include/nodes/nodes.h | 4 +-
src/include/nodes/params.h | 8 +-
src/include/nodes/parsenodes.h | 60 ++--
src/include/nodes/plannodes.h | 20 +-
src/include/nodes/primnodes.h | 60 ++--
src/include/nodes/relation.h | 66 ++--
src/include/nodes/replnodes.h | 11 +-
src/include/nodes/tidbitmap.h | 2 +-
src/include/nodes/value.h | 2 +-
src/include/parser/gramparse.h | 2 +-
src/include/parser/parse_node.h | 6 +-
src/include/parser/scanner.h | 4 +-
src/include/pg_config_manual.h | 18 +-
src/include/pgstat.h | 24 +-
src/include/port.h | 4 +-
src/include/port/linux.h | 2 +-
src/include/port/win32.h | 4 +-
src/include/portability/instr_time.h | 4 +-
src/include/postgres.h | 8 +-
src/include/postgres_ext.h | 2 +-
src/include/postmaster/bgworker.h | 11 +-
src/include/postmaster/bgworker_internals.h | 4 +-
src/include/postmaster/syslogger.h | 2 +-
src/include/regex/regcustom.h | 2 +-
src/include/regex/regex.h | 2 +-
src/include/regex/regexport.h | 2 +-
src/include/regex/regguts.h | 14 +-
src/include/replication/basebackup.h | 4 +-
src/include/replication/decode.h | 2 +-
src/include/replication/logical.h | 26 +-
src/include/replication/output_plugin.h | 10 +-
src/include/replication/reorderbuffer.h | 18 +-
src/include/replication/slot.h | 14 +-
src/include/replication/snapbuild.h | 16 +-
src/include/replication/walreceiver.h | 8 +-
src/include/rewrite/rewriteHandler.h | 8 +-
src/include/snowball/header.h | 2 +-
src/include/storage/barrier.h | 2 +-
src/include/storage/block.h | 2 +-
src/include/storage/buf_internals.h | 8 +-
src/include/storage/bufpage.h | 8 +-
src/include/storage/dsm.h | 4 +-
src/include/storage/dsm_impl.h | 2 +-
src/include/storage/ipc.h | 2 +-
src/include/storage/itemid.h | 2 +-
src/include/storage/itemptr.h | 2 +-
src/include/storage/large_object.h | 2 +-
src/include/storage/lock.h | 14 +-
src/include/storage/lwlock.h | 8 +-
src/include/storage/pg_sema.h | 2 +-
src/include/storage/pg_shmem.h | 6 +-
src/include/storage/pos.h | 2 +-
src/include/storage/predicate_internals.h | 10 +-
src/include/storage/proc.h | 13 +-
src/include/storage/procarray.h | 2 +-
src/include/storage/relfilenode.h | 6 +-
src/include/storage/shm_mq.h | 6 +-
src/include/storage/shm_toc.h | 4 +-
src/include/storage/sinval.h | 4 +-
src/include/storage/sinvaladt.h | 2 +-
src/include/storage/smgr.h | 6 +-
src/include/storage/spin.h | 6 +-
src/include/tcop/dest.h | 12 +-
src/include/tcop/tcopdebug.h | 2 +-
src/include/utils/acl.h | 4 +-
src/include/utils/builtins.h | 2 +-
src/include/utils/catcache.h | 8 +-
src/include/utils/datetime.h | 4 +-
src/include/utils/elog.h | 4 +-
src/include/utils/guc.h | 4 +-
src/include/utils/hsearch.h | 2 +-
src/include/utils/inet.h | 4 +-
src/include/utils/jsonapi.h | 4 +-
src/include/utils/jsonb.h | 82 ++---
src/include/utils/memutils.h | 4 +-
src/include/utils/palloc.h | 12 +-
src/include/utils/pg_crc.h | 2 +-
src/include/utils/plancache.h | 12 +-
src/include/utils/portal.h | 6 +-
src/include/utils/rel.h | 21 +-
src/include/utils/relcache.h | 4 +-
src/include/utils/relfilenodemap.h | 2 +-
src/include/utils/resowner.h | 2 +-
src/include/utils/resowner_private.h | 4 +-
src/include/utils/selfuncs.h | 2 +-
src/include/utils/snapshot.h | 10 +-
src/include/utils/sortsupport.h | 2 +-
src/include/utils/tqual.h | 12 +-
src/include/utils/tuplesort.h | 8 +-
src/include/utils/tuplestore.h | 2 +-
src/include/utils/typcache.h | 6 +-
src/interfaces/ecpg/ecpglib/data.c | 2 +-
src/interfaces/ecpg/ecpglib/execute.c | 24 +-
src/interfaces/ecpg/ecpglib/extern.h | 14 +-
src/interfaces/ecpg/include/sqlca.h | 2 +-
src/interfaces/ecpg/pgtypeslib/dt.h | 4 +-
src/interfaces/ecpg/pgtypeslib/dt_common.c | 8 +-
src/interfaces/ecpg/pgtypeslib/interval.c | 6 +-
src/interfaces/ecpg/pgtypeslib/numeric.c | 2 +-
src/interfaces/ecpg/preproc/c_keywords.c | 2 +-
src/interfaces/ecpg/preproc/extern.h | 4 +-
src/interfaces/ecpg/preproc/output.c | 2 +-
src/interfaces/ecpg/preproc/parse.pl | 12 +-
src/interfaces/ecpg/preproc/parser.c | 2 +-
src/interfaces/ecpg/preproc/type.c | 89 +++---
src/interfaces/ecpg/preproc/variable.c | 5 +-
.../test/expected/compat_informix-test_informix2.c | 2 +-
src/interfaces/ecpg/test/expected/preproc-init.c | 2 +-
src/interfaces/ecpg/test/expected/sql-array.c | 2 +-
src/interfaces/ecpg/test/expected/sql-code100.c | 2 +-
src/interfaces/ecpg/test/expected/sql-copystdout.c | 2 +-
src/interfaces/ecpg/test/expected/sql-define.c | 2 +-
src/interfaces/ecpg/test/expected/sql-dynalloc.c | 2 +-
src/interfaces/ecpg/test/expected/sql-dynalloc2.c | 2 +-
src/interfaces/ecpg/test/expected/sql-dyntest.c | 2 +-
src/interfaces/ecpg/test/expected/sql-indicators.c | 2 +-
src/interfaces/ecpg/test/expected/thread-alloc.c | 2 +-
.../ecpg/test/expected/thread-descriptor.c | 2 +-
src/interfaces/ecpg/test/expected/thread-prep.c | 2 +-
src/interfaces/ecpg/test/pg_regress_ecpg.c | 6 +-
src/interfaces/libpq/fe-auth.c | 8 +-
src/interfaces/libpq/fe-connect.c | 59 ++--
src/interfaces/libpq/fe-exec.c | 30 +-
src/interfaces/libpq/fe-lobj.c | 2 +-
src/interfaces/libpq/fe-misc.c | 4 +-
src/interfaces/libpq/fe-protocol2.c | 12 +-
src/interfaces/libpq/fe-protocol3.c | 26 +-
src/interfaces/libpq/fe-secure.c | 31 +-
src/interfaces/libpq/libpq-fe.h | 4 +-
src/interfaces/libpq/libpq-int.h | 3 +-
src/interfaces/libpq/pqexpbuffer.c | 10 +-
src/interfaces/libpq/pqexpbuffer.h | 8 +-
src/interfaces/libpq/test/uri-regress.c | 2 +-
src/pl/plperl/plperl.c | 17 +-
src/pl/plpgsql/src/pl_comp.c | 24 +-
src/pl/plpgsql/src/pl_exec.c | 66 ++--
src/pl/plpgsql/src/pl_funcs.c | 4 +-
src/pl/plpgsql/src/pl_handler.c | 6 +-
src/pl/plpgsql/src/pl_scanner.c | 8 +-
src/pl/plpgsql/src/plpgsql.h | 12 +-
src/pl/plpython/plpy_elog.c | 2 +-
src/pl/plpython/plpy_exec.c | 2 +-
src/pl/plpython/plpy_typeio.c | 8 +-
src/pl/plpython/plpy_util.c | 6 +-
src/pl/tcl/pltcl.c | 8 +-
src/port/chklocale.c | 2 +-
src/port/crypt.c | 26 +-
src/port/dirent.c | 2 +-
src/port/erand48.c | 2 +-
src/port/fls.c | 4 +-
src/port/getaddrinfo.c | 5 +-
src/port/getopt.c | 2 +-
src/port/getopt_long.c | 2 +-
src/port/inet_aton.c | 4 +-
src/port/kill.c | 2 +-
src/port/path.c | 6 +-
src/port/pgmkdirp.c | 2 +-
src/port/pqsignal.c | 4 +-
src/port/qsort.c | 2 +-
src/port/qsort_arg.c | 2 +-
src/port/snprintf.c | 6 +-
src/port/sprompt.c | 6 +-
src/port/strlcat.c | 2 +-
src/port/strlcpy.c | 4 +-
src/port/thread.c | 4 +-
src/port/unsetenv.c | 2 +-
src/test/isolation/isolation_main.c | 12 +-
src/test/isolation/isolationtester.c | 36 +--
src/test/isolation/isolationtester.h | 4 +-
src/test/perl/TestLib.pm | 119 +++++---
src/test/regress/pg_regress.c | 30 +-
src/test/regress/pg_regress.h | 4 +-
src/test/regress/pg_regress_main.c | 6 +-
src/test/regress/regress.c | 9 +-
src/timezone/localtime.c | 12 +-
src/timezone/pgtz.c | 6 +-
src/timezone/zic.c | 3 +-
src/tools/entab/entab.c | 10 +-
src/tools/git_changelog | 2 +-
src/tools/msvc/MSBuildProject.pm | 8 +-
src/tools/msvc/Mkvcbuild.pm | 2 +-
src/tools/msvc/Solution.pm | 32 +-
src/tools/msvc/gendef.pl | 250 +++++++--------
src/tools/pgindent/pgindent | 20 +-
src/tutorial/complex.c | 2 +-
854 files changed, 7855 insertions(+), 7375 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Kevin Grittner
kgrittn@ymail.com
In reply to: Bruce Momjian (#1)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Bruce Momjian <bruce@momjian.us> wrote:

pgindent run for 9.4

This includes removing tabs after periods in C comments, which was
applied to back branches, so this change should not effect backpatching.

http://git.postgresql.org/pg/commitdiff/0a7832005792fa6dad171f9cadb8d587fe0dd800

.../test/expected/compat_informix-test_informix2.c |    2 +-
src/interfaces/ecpg/test/expected/preproc-init.c  |    2 +-
src/interfaces/ecpg/test/expected/sql-array.c      |    2 +-
src/interfaces/ecpg/test/expected/sql-code100.c    |    2 +-
src/interfaces/ecpg/test/expected/sql-copystdout.c |    2 +-
src/interfaces/ecpg/test/expected/sql-define.c    |    2 +-
src/interfaces/ecpg/test/expected/sql-dynalloc.c  |    2 +-
src/interfaces/ecpg/test/expected/sql-dynalloc2.c  |    2 +-
src/interfaces/ecpg/test/expected/sql-dyntest.c    |    2 +-
src/interfaces/ecpg/test/expected/sql-indicators.c |    2 +-
src/interfaces/ecpg/test/expected/thread-alloc.c  |    2 +-
.../ecpg/test/expected/thread-descriptor.c        |    2 +-
src/interfaces/ecpg/test/expected/thread-prep.c    |    2 +-

The 13 tests above are broken by this commit.  Probably the
directory should be excluded from pgindent processing.

While I haven't checked, I assume all other branches are affected.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: Kevin Grittner (#2)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

pgindent run for 9.4

The 13 tests above are broken by this commit.� Probably the
directory should be excluded from pgindent processing.

What's broken? The buildfarm isn't complaining, and "make installcheck"
in src/interfaces/ecpg/test passes for me.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#4Kevin Grittner
kgrittn@ymail.com
In reply to: Tom Lane (#3)
1 attachment(s)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Tom Lane <tgl@sss.pgh.pa.us> wrote:

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

pgindent run for 9.4

The 13 tests above are broken by this commit.  Probably the
directory should be excluded from pgindent processing.

What's broken?  The buildfarm isn't complaining, and "make installcheck"
in src/interfaces/ecpg/test passes for me.

On "make check-world" I get the attached.  After the period, the
trailing tabs in the comment have been changed to spaces in
"expected", but are still tabs in "results".

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachments:

regression.diffsapplication/octet-stream; name=regression.diffsDownload
*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/compat_informix-test_informix2.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/compat_informix-test_informix2.c	2014-05-06 12:51:35.685113562 -0500
***************
*** 57,63 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 57,63 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/preproc-init.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/preproc-init.c	2014-05-06 12:51:35.849113562 -0500
***************
*** 51,57 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 51,57 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-array.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-array.c	2014-05-06 12:51:35.901113562 -0500
***************
*** 59,65 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 59,65 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-code100.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-code100.c	2014-05-06 12:51:35.921113562 -0500
***************
*** 51,57 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 51,57 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-copystdout.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-copystdout.c	2014-05-06 12:51:35.933113562 -0500
***************
*** 53,59 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 53,59 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-define.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-define.c	2014-05-06 12:51:35.941113562 -0500
***************
*** 51,57 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 51,57 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-dynalloc.c	2014-05-06 12:45:26.769114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-dynalloc.c	2014-05-06 12:51:35.989113562 -0500
***************
*** 52,58 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 52,58 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-dynalloc2.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-dynalloc2.c	2014-05-06 12:51:36.001113562 -0500
***************
*** 52,58 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 52,58 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-dyntest.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-dyntest.c	2014-05-06 12:51:36.009113562 -0500
***************
*** 105,111 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 105,111 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/sql-indicators.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/sql-indicators.c	2014-05-06 12:51:36.057113562 -0500
***************
*** 53,59 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 53,59 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/thread-prep.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/thread-prep.c	2014-05-06 12:51:36.177113560 -0500
***************
*** 74,80 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 74,80 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/thread-alloc.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/thread-alloc.c	2014-05-06 12:51:36.229113560 -0500
***************
*** 74,80 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 74,80 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

*** /home/kgrittn/pg/master/src/interfaces/ecpg/test/expected/thread-descriptor.c	2014-05-06 12:45:26.773114421 -0500
--- /home/kgrittn/pg/master/src/interfaces/ecpg/test/results/thread-descriptor.c	2014-05-06 12:51:36.265113560 -0500
***************
*** 65,71 ****
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.             */
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred
--- 65,71 ----
  	/* Element 0: set to 'W' if at least one other is 'W'	*/
  	/* 1: if 'W' at least one character string		*/
  	/* value was truncated when it was			*/
! 	/* stored into a host variable.				*/
  
  	/*
  	 * 2: if 'W' a (hopefully) non-fatal notice occurred

======================================================================

#5Bruce Momjian
bruce@momjian.us
In reply to: Kevin Grittner (#4)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

On Tue, May 6, 2014 at 12:38:41PM -0700, Kevin Grittner wrote:

Tom Lane <tgl@sss.pgh.pa.us> wrote:

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

pgindent run for 9.4

The 13 tests above are broken by this commit.� Probably the
directory should be excluded from pgindent processing.

What's broken?� The buildfarm isn't complaining, and "make installcheck"
in src/interfaces/ecpg/test passes for me.

On "make check-world" I get the attached.� After the period, the
trailing tabs in the comment have been changed to spaces in
"expected", but are still tabs in "results".

Yes, I had to modify those lines before I pushed the pgindent changes so
'make installcheck-world' would pass. It passes here for me now. Did
you do 'make maintainer-clean' before running the tests? That might
help.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#6Kevin Grittner
kgrittn@ymail.com
In reply to: Bruce Momjian (#5)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Bruce Momjian <bruce@momjian.us> wrote:

On Tue, May  6, 2014 at 12:38:41PM -0700, Kevin Grittner wrote:

Tom Lane <tgl@sss.pgh.pa.us> wrote:

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

pgindent run for 9.4

The 13 tests above are broken by this commit.  Probably the
directory should be excluded from pgindent processing.

What's broken?  The buildfarm isn't complaining, and "make installcheck"
in src/interfaces/ecpg/test passes for me.

On "make check-world" I get the attached.  After the period, the
trailing tabs in the comment have been changed to spaces in
"expected", but are still tabs in "results".

Yes, I had to modify those lines before I pushed the pgindent changes so
'make installcheck-world' would pass.  It passes here for me now.  Did
you do 'make maintainer-clean' before running the tests?  That might
help.

It occurred to me after my last post that I had just done a "make
world" without any cleanup when I pulled that, and had started a
full build from "make maintainer-clean" when you sent that.  :-)

I'll let you know either way when I get results from that.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#7Kevin Grittner
kgrittn@ymail.com
In reply to: Kevin Grittner (#6)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Kevin Grittner <kgrittn@ymail.com> wrote:

It occurred to me after my last post that I had just done a "make
world" without any cleanup when I pulled that, and had started a
full build from "make maintainer-clean" when you sent that.  :-)

I'll let you know either way when I get results from that.

Yeah, after "make maintainer-clean" it's fine.  Another case where
--enable-depend doesn't handle things.  I don't know whether we can
or should try to fix that.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#8Tom Lane
tgl@sss.pgh.pa.us
In reply to: Kevin Grittner (#6)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

Yes, I had to modify those lines before I pushed the pgindent changes so
'make installcheck-world' would pass.� It passes here for me now.� Did
you do 'make maintainer-clean' before running the tests?� That might
help.

It occurred to me after my last post that I had just done a "make
world" without any cleanup when I pulled that, and had started a
full build from "make maintainer-clean" when you sent that.� :-)

FWIW, I did a "make distclean" before pulling the update, which is
my usual habit, and it worked fine. A look at the make rules for
ecpg suggests that "make clean" is enough to get rid of all the
derived files for the tests.

But having said that, if this didn't work then there's something broken
about the make rules for the ecpg tests. I'm a bit suspicious of commit
69e9768e7b183d4b276d0e067a5a0000689580eb.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#9Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#8)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

On Tue, May 6, 2014 at 03:54:24PM -0400, Tom Lane wrote:

Kevin Grittner <kgrittn@ymail.com> writes:

Bruce Momjian <bruce@momjian.us> wrote:

Yes, I had to modify those lines before I pushed the pgindent changes so
'make installcheck-world' would pass.� It passes here for me now.� Did
you do 'make maintainer-clean' before running the tests?� That might
help.

It occurred to me after my last post that I had just done a "make
world" without any cleanup when I pulled that, and had started a
full build from "make maintainer-clean" when you sent that.� :-)

FWIW, I did a "make distclean" before pulling the update, which is
my usual habit, and it worked fine. A look at the make rules for
ecpg suggests that "make clean" is enough to get rid of all the
derived files for the tests.

But having said that, if this didn't work then there's something broken
about the make rules for the ecpg tests. I'm a bit suspicious of commit
69e9768e7b183d4b276d0e067a5a0000689580eb.

What _is_ odd is that I had to change these files after the pgindent run
in head, but _not_ in the back branches when I removed the tabs from
comments. I assume there is something new in 9.4 about they way they
are built.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#10Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#9)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Bruce Momjian <bruce@momjian.us> writes:

On Tue, May 6, 2014 at 03:54:24PM -0400, Tom Lane wrote:

But having said that, if this didn't work then there's something broken
about the make rules for the ecpg tests. I'm a bit suspicious of commit
69e9768e7b183d4b276d0e067a5a0000689580eb.

I looked into this, and find that the cause of the problem is that
pgindent touched src/interfaces/ecpg/include/sqlca.h, which is copied
verbatim into preprocessed files by the ecpg preprocessor, so the expected
files had to change in tandem. This amounts to a dependency, but the make
rules don't know about it. Should they? That particular file changes so
seldom that it'd hardly be worth worrying about, but I'm not sure which
other files can get copied similarly.

What _is_ odd is that I had to change these files after the pgindent run
in head, but _not_ in the back branches when I removed the tabs from
comments. I assume there is something new in 9.4 about they way they
are built.

I'm confused by this statement. Your tab-adjustment commits in the back
branches also touched both sqlca.h and the ecpg expected files.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#11Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#10)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

On Tue, May 6, 2014 at 05:05:00PM -0400, Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

On Tue, May 6, 2014 at 03:54:24PM -0400, Tom Lane wrote:

But having said that, if this didn't work then there's something broken
about the make rules for the ecpg tests. I'm a bit suspicious of commit
69e9768e7b183d4b276d0e067a5a0000689580eb.

I looked into this, and find that the cause of the problem is that
pgindent touched src/interfaces/ecpg/include/sqlca.h, which is copied
verbatim into preprocessed files by the ecpg preprocessor, so the expected
files had to change in tandem. This amounts to a dependency, but the make
rules don't know about it. Should they? That particular file changes so
seldom that it'd hardly be worth worrying about, but I'm not sure which
other files can get copied similarly.

What _is_ odd is that I had to change these files after the pgindent run
in head, but _not_ in the back branches when I removed the tabs from
comments. I assume there is something new in 9.4 about they way they
are built.

I'm confused by this statement. Your tab-adjustment commits in the back
branches also touched both sqlca.h and the ecpg expected files.

They probably did in the back branches as I hit _all_ C files. I wonder
if pgindent somehow skipped some of them.

Ah, found it. There is an excludes pattern file list I had forgotten
about; it has:

/s_lock\.h$
/ecpg/test/expected/
/snowball/libstemmer/
/ecpg/include/(sqlda|sqltypes)\.h$
/ecpg/include/preproc/struct\.h$
/pl/plperl/ppport\.h$

I am thinking I should back out the tab/comment changes in those files
in the back branches, though I would then need to adjust the ecpg
regression tests. In practice, these files are rarely patched, so it
might be fine to just leave them alone.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#12Tom Lane
tgl@sss.pgh.pa.us
In reply to: Tom Lane (#10)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

I wrote:

I looked into this, and find that the cause of the problem is that
pgindent touched src/interfaces/ecpg/include/sqlca.h, which is copied
verbatim into preprocessed files by the ecpg preprocessor, so the expected
files had to change in tandem. This amounts to a dependency, but the make
rules don't know about it. Should they? That particular file changes so
seldom that it'd hardly be worth worrying about, but I'm not sure which
other files can get copied similarly.

While I'm looking at it: there's no dependency forcing the test .c files
to get rebuilt after the ecpg preprocessor changes, either, and that
seems much more likely to be a routine problem.

Arguably, we need some more dependencies in this rule in
ecpg/test/Makefile.regress:

%.c: %.pgc ../regression.h
$(ECPG) -o $@ -I$(srcdir) $<

I also notice that some of the subdirectory makefiles that include
Makefile.regress have custom build rules that seem mostly duplicative
of this one, except for passing different switches to ecpg. Those
would likewise need additions to their dependency lists, which suggests
that the "../regression.h" part ought to be wrapped up in some macro.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#13Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#11)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Bruce Momjian <bruce@momjian.us> writes:

Ah, found it. There is an excludes pattern file list I had forgotten
about; it has:

/s_lock\.h$
/ecpg/test/expected/
/snowball/libstemmer/
/ecpg/include/(sqlda|sqltypes)\.h$
/ecpg/include/preproc/struct\.h$
/pl/plperl/ppport\.h$

Ah, so you've been excluding some of the ecpg/include/ header files but
not sqlca.h.

I am thinking I should back out the tab/comment changes in those files
in the back branches, though I would then need to adjust the ecpg
regression tests. In practice, these files are rarely patched, so it
might be fine to just leave them alone.

No, let's not back them out. The real question here is why sqlca.h is
treated differently from those other three. At least in HEAD, I'd be
inclined to pgindent all of ecpg/include/ and just deal with any ensuing
test fallout. As long as updating the expected files is part of your
pgindent procedure, why not?

IOW, I get the reasons for those other exclusions:

s_lock.h: lots of inline ASM which pgindent doesn't deal well with
/snowball/libstemmer/: upstream code not maintained by us
ppport.h: ditto

But I don't see the reason why we shouldn't expect ecpg's headers to
conform to our layout rules.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#14Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#13)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

On Tue, May 6, 2014 at 05:35:15PM -0400, Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

Ah, found it. There is an excludes pattern file list I had forgotten
about; it has:

/s_lock\.h$
/ecpg/test/expected/
/snowball/libstemmer/
/ecpg/include/(sqlda|sqltypes)\.h$
/ecpg/include/preproc/struct\.h$
/pl/plperl/ppport\.h$

Ah, so you've been excluding some of the ecpg/include/ header files but
not sqlca.h.

I am thinking I should back out the tab/comment changes in those files
in the back branches, though I would then need to adjust the ecpg
regression tests. In practice, these files are rarely patched, so it
might be fine to just leave them alone.

No, let's not back them out. The real question here is why sqlca.h is
treated differently from those other three. At least in HEAD, I'd be
inclined to pgindent all of ecpg/include/ and just deal with any ensuing
test fallout. As long as updating the expected files is part of your
pgindent procedure, why not?

IOW, I get the reasons for those other exclusions:

s_lock.h: lots of inline ASM which pgindent doesn't deal well with
/snowball/libstemmer/: upstream code not maintained by us
ppport.h: ditto

But I don't see the reason why we shouldn't expect ecpg's headers to
conform to our layout rules.

I don't know who ecpg got in there. Let me know what you would like
done.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#15Tom Lane
tgl@sss.pgh.pa.us
In reply to: Bruce Momjian (#14)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

Bruce Momjian <bruce@momjian.us> writes:

On Tue, May 6, 2014 at 05:35:15PM -0400, Tom Lane wrote:

But I don't see the reason why we shouldn't expect ecpg's headers to
conform to our layout rules.

I don't know who ecpg got in there. Let me know what you would like
done.

What I'm suggesting is that, in HEAD only, you remove these exclusion
entries:

/ecpg/include/(sqlda|sqltypes)\.h$
/ecpg/include/preproc/struct\.h$

then redo the pgindent run (presumably only those three files will change)
and make any necessary updates in the ecpg expected files.

Note that it's just chance that the back branch updates didn't hit those
three files already, since you said you weren't using the filter on them.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#16Bruce Momjian
bruce@momjian.us
In reply to: Tom Lane (#15)
Re: [COMMITTERS] pgsql: pgindent run for 9.4

On Tue, May 6, 2014 at 06:24:47PM -0400, Tom Lane wrote:

Bruce Momjian <bruce@momjian.us> writes:

On Tue, May 6, 2014 at 05:35:15PM -0400, Tom Lane wrote:

But I don't see the reason why we shouldn't expect ecpg's headers to
conform to our layout rules.

I don't know who ecpg got in there. Let me know what you would like
done.

What I'm suggesting is that, in HEAD only, you remove these exclusion
entries:

/ecpg/include/(sqlda|sqltypes)\.h$
/ecpg/include/preproc/struct\.h$

then redo the pgindent run (presumably only those three files will change)
and make any necessary updates in the ecpg expected files.

OK, done. ecpg exclusion removed, pgindent rerun (it only changed
sqlda.h), and ecpg regression tests updated, all only in head.

Note that it's just chance that the back branch updates didn't hit those
three files already, since you said you weren't using the filter on them.

Right.

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers