postgresql/src/backend/commands
Tom Lane e3860ffa4d Initial pgindent run with pg_bsd_indent version 2.0.
The new indent version includes numerous fixes thanks to Piotr Stefaniak.
The main changes visible in this commit are:

* Nicer formatting of function-pointer declarations.
* No longer unexpectedly removes spaces in expressions using casts,
  sizeof, or offsetof.
* No longer wants to add a space in "struct structname *varname", as
  well as some similar cases for const- or volatile-qualified pointers.
* Declarations using PG_USED_FOR_ASSERTS_ONLY are formatted more nicely.
* Fixes bug where comments following declarations were sometimes placed
  with no space separating them from the code.
* Fixes some odd decisions for comments following case labels.
* Fixes some cases where comments following code were indented to less
  than the expected column 33.

On the less good side, it now tends to put more whitespace around typedef
names that are not listed in typedefs.list.  This might encourage us to
put more effort into typedef name collection; it's not really a bug in
indent itself.

There are more changes coming after this round, having to do with comment
indentation and alignment of lines appearing within parentheses.  I wanted
to limit the size of the diffs to something that could be reviewed without
one's eyes completely glazing over, so it seemed better to split up the
changes as much as practical.

Discussion: https://postgr.es/m/E1dAmxK-0006EE-1r@gemulon.postgresql.org
Discussion: https://postgr.es/m/30527.1495162840@sss.pgh.pa.us
2017-06-21 14:39:04 -04:00
..
aggregatecmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
alter.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
amcmds.c Fix typos in comments. 2017-02-06 11:33:58 +02:00
analyze.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
async.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
cluster.c In rebuild_relation(), don't access an already-closed relcache entry. 2017-03-04 16:09:33 -05:00
collationcmds.c Prevent copying default collation 2017-06-13 08:49:41 -04:00
comment.c Allow COMMENT ON COLUMN with partitioned tables 2017-04-18 10:42:10 +01:00
constraint.c Allow index AMs to cache data across aminsert calls within a SQL command. 2017-02-09 11:52:12 -05:00
conversioncmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
copy.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
createas.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
dbcommands.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
define.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
discard.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dropcmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
event_trigger.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
explain.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
extension.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
foreigncmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
functioncmds.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
indexcmds.c Disallow CREATE INDEX if table is already in use in current session. 2017-06-04 12:02:41 -04:00
lockcmds.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
Makefile Implement multivariate n-distinct coefficients 2017-03-24 14:06:10 -03:00
matview.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
opclasscmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
operatorcmds.c Replace LookupFuncNameTypeNames() with LookupFuncWithArgs() 2017-03-06 13:31:47 -05:00
policy.c Teach RemoveRoleFromObjectPolicy() about partitioned tables. 2017-06-14 08:43:40 +01:00
portalcmds.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
prepare.c Improve castNode notation by introducing list-extraction-specific variants. 2017-04-10 13:51:53 -04:00
proclang.c Provide CatalogTupleDelete() as a wrapper around simple_heap_delete(). 2017-02-01 16:13:30 -05:00
publicationcmds.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
schemacmds.c Add infrastructure to support EphemeralNamedRelation references. 2017-03-31 23:17:18 -05:00
seclabel.c Remove objname/objargs split for referring to objects 2017-03-06 13:31:47 -05:00
sequence.c Use RangeVarGetRelidExtended() in AlterSequence() 2017-06-16 10:24:50 -04:00
statscmds.c Fix violations of CatalogTupleInsert/Update/Delete abstraction. 2017-06-14 10:26:46 -04:00
subscriptioncmds.c Remove "synchronized table states" notice message 2017-06-12 11:42:06 -04:00
tablecmds.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
tablespace.c Remove useless duplicate inclusions of system header files. 2017-02-25 16:12:55 -05:00
trigger.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
tsearchcmds.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
typecmds.c Fix improper quoting of format_type_be() output. 2017-05-29 21:48:26 -04:00
user.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
vacuum.c Track the oldest XID that can be safely looked up in CLOG. 2017-03-23 14:26:31 -04:00
vacuumlazy.c Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
variable.c Re-run pgindent. 2017-06-13 13:05:59 -04:00
view.c Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00