postgresql/src/test/modules
Tom Lane 10ab85254d 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:30 -05:00
..
brin Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:15 -08:00
commit_ts Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:15 -08:00
dummy_seclabel Rework the options syntax for logical replication commands 2017-05-12 08:57:49 -04:00
snapshot_too_old Fix up confusion over how to use EXTRA_INSTALL. 2019-01-11 17:39:30 -05:00
test_ddl_deparse test_ddl_deparse: rename matview 2018-03-15 15:21:32 -03: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 Avoid using unsafe search_path settings during dump and restore. 2018-02-26 10:18:22 -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 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 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.