postgresql/src/test/modules
Tom Lane f285f23970 Fix up confusion over how to use EXTRA_INSTALL.
Some makefiles were trying to do this:

temp-install: EXTRA_INSTALL=contrib/test_decoding

but that no longer works as of commit aa019da52: the macro is now
consulted by the checkprep target, one level down, and apparently
gmake doesn't propagate such macro settings recursively.

The problem is masked since 42e61c774 because pgxs.mk also sets up
EXTRA_INSTALL, and correctly applies it to the checkprep target.

Unfortunately I'd not risked back-patching that to before v11.
Since aa019da52 was pushed back to v10, it broke test_decoding
there (the only module for which this actually makes a difference
at present).

Hence, back-patch 42e61c774 to v10.  Also, remove some demonstrably
useless settings of EXTRA_INSTALL in v10 and v11 (they'd already
been cleaned up in HEAD).

Per buildfarm.

Discussion: https://postgr.es/m/CAEepm=1pEJdwv6DSGmOfpX0EaX7L7sT28c1nXpqvQvmLfEWb1g@mail.gmail.com
2019-01-11 17:39:46 -05:00
..
brin perltidy: Add option --nooutdent-long-quotes 2018-04-27 11:37:43 -04:00
commit_ts Rework activation of commit timestamps during recovery 2018-09-26 10:29:20 +09:00
dummy_seclabel Replace AclObjectKind with ObjectType 2018-01-19 14:01:15 -05:00
snapshot_too_old Fix up confusion over how to use EXTRA_INSTALL. 2019-01-11 17:39:46 -05:00
test_bloomfilter Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
test_ddl_deparse Fix event triggers for partitioned tables 2018-10-06 19:17:46 -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 Rename rbtree.c functions to use "rbt" prefix not "rb" prefix. 2018-11-06 13:25:24 -05:00
test_rls_hooks Fix test_rls_hooks to assign expression collations properly. 2018-12-11 11:48:00 -05: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.