postgresql/src/test/modules
Tom Lane 958aa438aa Further fixes for ssl_passphrase_callback test module.
The Makefile should set TAP_TESTS = 1, not implement the infrastructure
for itself.  For one thing, it missed the appropriate "make clean"
steps.  For another, the buildfarm isn't running this test because
it wasn't hooked into "make installcheck" either.
2020-03-25 22:05:27 -04:00
..
brin Add PGXS options to control TAP and isolation tests, take two 2018-12-03 09:27:35 +09:00
commit_ts Initial pgperltidy run for v12. 2019-05-22 13:36:19 -04:00
dummy_index_am Introduce IndexAM fields for parallel vacuum. 2020-01-15 07:24:14 +05:30
dummy_seclabel doc: Fix naming of SELinux 2020-01-10 09:36:55 +09:00
snapshot_too_old Add PGXS options to control TAP and isolation tests, take two 2018-12-03 09:27:35 +09:00
ssl_passphrase_callback Further fixes for ssl_passphrase_callback test module. 2020-03-25 22:05:27 -04:00
test_bloomfilter Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_ddl_deparse Represent command completion tags as structs 2020-03-02 18:19:51 -03:00
test_extensions Avoid duplicates in ALTER ... DEPENDS ON EXTENSION 2020-03-11 11:04:59 -03:00
test_ginpostinglist Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_integerset Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_misc Avoid using INFO elevel for what are fundamentally debug messages. 2019-09-07 19:03:11 -04:00
test_parser Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
test_pg_dump Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 2020-03-11 16:54:54 -03:00
test_predtest Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_rbtree Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_rls_hooks Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
test_shm_mq Update copyrights for 2020 2020-01-01 12:21:45 -05:00
unsafe_tests Disallow dropping rules on system tables by default 2019-12-20 08:27:37 +01:00
worker_spi Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Fix assorted portability issues in commit 896fcdb23. 2020-03-25 19:37:30 -04:00
README Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04: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".

Furthermore, while you can do "make install" and "make installcheck" in
this directory or its children, it is NOT ADVISABLE to do so with a server
containing valuable data.  Some of these tests may have undesirable
side-effects on roles or other global objects within the tested server.
"make installcheck-world" at the top level does not recurse into this
directory.

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.