postgresql/src/test/modules
Tom Lane 382ceffdf7 Phase 3 of pgindent updates.
Don't move parenthesized lines to the left, even if that means they
flow past the right margin.

By default, BSD indent lines up statement continuation lines that are
within parentheses so that they start just to the right of the preceding
left parenthesis.  However, traditionally, if that resulted in the
continuation line extending to the right of the desired right margin,
then indent would push it left just far enough to not overrun the margin,
if it could do so without making the continuation line start to the left of
the current statement indent.  That makes for a weird mix of indentations
unless one has been completely rigid about never violating the 80-column
limit.

This behavior has been pretty universally panned by Postgres developers.
Hence, disable it with indent's new -lpl switch, so that parenthesized
lines are always lined up with the preceding left paren.

This patch is much less interesting than the first round of indent
changes, but also bulkier, so I thought it best to separate the effects.

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 15:35:54 -04:00
..
brin Fix phony .PHONY. 2016-03-19 17:19:37 -04:00
commit_ts Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
dummy_seclabel Rework the options syntax for logical replication commands 2017-05-12 08:57:49 -04:00
snapshot_too_old Add a regression test for snapshot too old with hash indexes. 2017-03-15 10:53:07 -04:00
test_ddl_deparse Remove deprecated COMMENT ON RULE syntax 2017-02-23 08:19:52 -05:00
test_extensions psql: Use more consistent capitalization of some output headings 2017-06-13 14:41:14 -04:00
test_parser Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
test_pg_dump Post-PG 10 beta1 pgperltidy run 2017-05-17 19:01:23 -04:00
test_rls_hooks Improve RLS planning by marking individual quals with security levels. 2017-01-18 12:58:20 -05:00
test_shm_mq Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
worker_spi Phase 3 of pgindent updates. 2017-06-21 15:35:54 -04:00
Makefile Provide and use a makefile target to build all generated headers. 2016-07-01 15:09:02 -04:00
README

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.