postgresql/src/test/modules
Thomas Munro d1511fe1b0 Add new simple TAP test for tablespaces.
The tablespace tests in the main regression tests have been changed to
use "in-place" tablespaces, so that they work when streamed to a replica
on the same host.  Add a new TAP test that exercises tablespaces with
absolute paths, for coverage.

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CA%2BhUKGKpRWQ9SxdxxDmTBCJoR0YnFpMBe7kyzY8SUQk%2BHeskxg%40mail.gmail.com
2022-01-15 00:09:24 +13:00
..
brin Update copyright for 2022 2022-01-07 19:04:57 -05:00
commit_ts Update copyright for 2022 2022-01-07 19:04:57 -05:00
delay_execution Update copyright for 2022 2022-01-07 19:04:57 -05:00
dummy_index_am Update copyright for 2022 2022-01-07 19:04:57 -05:00
dummy_seclabel Update copyright for 2022 2022-01-07 19:04:57 -05:00
libpq_pipeline Update copyright for 2022 2022-01-07 19:04:57 -05:00
plsample Update copyright for 2022 2022-01-07 19:04:57 -05:00
snapshot_too_old Improve display of query results in isolation tests. 2021-06-23 11:13:00 -04:00
spgist_name_ops Update copyright for 2022 2022-01-07 19:04:57 -05:00
ssl_passphrase_callback Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_bloomfilter Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_ddl_deparse Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_extensions Fix use-after-free bug with event triggers in an extension script 2020-09-15 21:03:14 -03:00
test_ginpostinglist Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_integerset Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_misc Add new simple TAP test for tablespaces. 2022-01-15 00:09:24 +13:00
test_parser Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_pg_dump Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_predtest Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_rbtree Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_regex Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_rls_hooks Update copyright for 2022 2022-01-07 19:04:57 -05:00
test_shm_mq Update copyright for 2022 2022-01-07 19:04:57 -05:00
unsafe_tests Add primary keys and unique constraints to system catalogs 2021-01-30 19:44:29 +01:00
worker_spi Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Fix confusion in SP-GiST between attribute type and leaf storage type. 2021-04-04 14:28:57 -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.