postgresql/contrib
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
..
adminpack Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
amcheck amcheck: Harden tests against concurrent autovacuums. 2017-03-14 13:07:38 -07:00
auth_delay Consistently declare timestamp variables as TimestampTz. 2017-02-23 15:57:08 -05:00
auto_explain Allow for parallel execution whenever ExecutorRun() is done only once. 2017-03-23 13:14:36 -04:00
bloom Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
btree_gin Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
btree_gist Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
chkpass
citext Optimize joins when the inner relation can be proven unique. 2017-04-07 22:20:13 -04:00
cube Fix typos in comments. 2017-02-06 11:33:58 +02:00
dblink Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
dict_int Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
dict_xsyn Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
earthdistance Remove support for version-0 calling conventions. 2017-03-30 06:25:46 -07:00
file_fdw Reset API of clause_selectivity() 2017-04-06 19:10:51 -04:00
fuzzystrmatch Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
hstore Assume deconstruct_array() outputs are untoasted. 2017-03-12 19:35:31 -04:00
hstore_plperl psql: Use more consistent capitalization of some output headings 2017-06-13 14:41:14 -04:00
hstore_plpython Drop support for Python 2.3 2017-02-21 09:49:22 -05:00
intagg
intarray Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
isn Fix wording in amvalidate error messages 2017-05-30 15:45:42 -04:00
lo Move atooid() definition to a central place 2017-03-01 11:55:28 -05:00
ltree Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
ltree_plpython Code review for avoidance of direct cross-module links. 2017-02-02 11:21:16 -05:00
oid2name Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pageinspect Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
passwordcheck Remove support for password_encryption='off' / 'plain'. 2017-05-08 11:26:07 +03:00
pg_buffercache Default monitoring roles 2017-03-30 14:18:53 -04:00
pg_freespacemap Default monitoring roles 2017-03-30 14:18:53 -04:00
pg_prewarm Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
pg_standby Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
pg_stat_statements Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pg_trgm Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pg_visibility Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pgcrypto Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
pgrowlocks Post-PG 10 beta1 pgindent run 2017-05-17 16:31:56 -04:00
pgstattuple Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
postgres_fdw Fix low-probability leaks of PGresult objects in the backend. 2017-06-15 15:03:52 -04:00
seg Move contrib/seg to only use V1 calling conventions. 2017-03-30 06:25:46 -07:00
sepgsql Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
spi Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
sslinfo Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
start-scripts Fix typos in comments. 2017-02-06 11:33:58 +02:00
tablefunc Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tcn Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
test_decoding Fix race condition leading to hanging logical slot creation. 2017-05-13 14:21:00 -07:00
tsm_system_rows Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
tsm_system_time Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
unaccent Use wrappers of PG_DETOAST_DATUM_PACKED() more. 2017-03-12 19:35:34 -04:00
uuid-ossp Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
vacuumlo Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
xml2 Initial pgindent run with pg_bsd_indent version 2.0. 2017-06-21 14:39:04 -04:00
contrib-global.mk
Makefile Add amcheck extension to contrib. 2017-03-09 16:33:02 -08:00
README

The PostgreSQL contrib tree
---------------------------

This subtree contains porting tools, analysis utilities, and plug-in
features that are not part of the core PostgreSQL system, mainly
because they address a limited audience or are too experimental to be
part of the main source tree.  This does not preclude their
usefulness.

User documentation for each module appears in the main SGML
documentation.

When building from the source distribution, these modules are not
built automatically, unless you build the "world" target.  You can
also build and install them all by running "make all" and "make
install" in this directory; or to build and install just one selected
module, do the same in that module's subdirectory.

Some directories supply new user-defined functions, operators, or
types.  To make use of one of these modules, after you have installed
the code you need to register the new SQL objects in the database
system by executing a CREATE EXTENSION command.  In a fresh database,
you can simply do

    CREATE EXTENSION module_name;

See the PostgreSQL documentation for more information about this
procedure.