postgresql/src/test/modules
Andrew Dunstan 35361ee788 Restrict vertical tightness to parentheses in Perl code
The vertical tightness settings collapse vertical whitespace between
opening and closing brackets (parentheses, square brakets and braces).
This can make data structures in particular harder to read, and is not
very consistent with our style in non-Perl code. This patch restricts
that setting to parentheses only, and reformats all the perl code
accordingly. Not applying this to parentheses has some unfortunate
effects, so the consensus is to keep the setting for parentheses and not
for the others.

The diff for this patch does highlight some places where structures
should have trailing commas. They can be added manually, as there is no
automatic tool to do so.

Discussion: https://postgr.es/m/a2f2b87c-56be-c070-bfc0-36288b4b41c1@2ndQuadrant.com
2018-05-09 10:14:46 -04:00
..
brin perltidy: Add option --nooutdent-long-quotes 2018-04-27 11:37:43 -04:00
commit_ts perltidy: Add option --nooutdent-long-quotes 2018-04-27 11:37:43 -04:00
dummy_seclabel Replace AclObjectKind with ObjectType 2018-01-19 14:01:15 -05:00
snapshot_too_old Add a regression test for snapshot too old with hash indexes. 2017-03-15 10:53:07 -04:00
test_bloomfilter Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
test_ddl_deparse test_ddl_deparse: rename matview 2018-03-15 15:21:01 -03:00
test_extensions psql: Use more consistent capitalization of some output headings 2017-06-13 14:41:14 -04:00
test_parser Update copyright for 2018 2018-01-02 23:30:12 -05:00
test_pg_dump Restrict vertical tightness to parentheses in Perl code 2018-05-09 10:14:46 -04:00
test_predtest Improve predtest.c's handling of cases with NULL-constant inputs. 2018-03-21 18:30:46 -04:00
test_rbtree Update copyright for 2018 2018-01-02 23:30:12 -05:00
test_rls_hooks Switch client-side code to include catalog/pg_foo_d.h not pg_foo.h. 2018-04-08 13:59:52 -04:00
test_shm_mq Update copyright for 2018 2018-01-02 23:30:12 -05:00
worker_spi Fix worker_spi for new parameter to initialize connection 2018-04-05 19:14:50 +02:00
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
README Add README in src/test and src/test/modules 2016-02-25 21:08:32 -03:00

Test extensions and libraries
=============================

src/test/modules contains PostgreSQL extensions that are primarily or entirely
intended for testing PostgreSQL and/or to serve as example code. The extensions
here aren't intended to be installed in a production server and aren't suitable
for "real work".

Most extensions have their own pg_regress tests or isolationtester specs. Some
are also used by tests elsewhere in the tree.

If you're adding new hooks or other functionality exposed as C-level API this
is where to add the tests for it.