You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/src/test/modules
Andrew Dunstan 896fcdb230 Provide a TLS init hook 6 years ago
..
brin Add PGXS options to control TAP and isolation tests, take two 7 years ago
commit_ts Initial pgperltidy run for v12. 7 years ago
dummy_index_am Introduce IndexAM fields for parallel vacuum. 6 years ago
dummy_seclabel doc: Fix naming of SELinux 6 years ago
snapshot_too_old Add PGXS options to control TAP and isolation tests, take two 7 years ago
ssl_passphrase_callback Provide a TLS init hook 6 years ago
test_bloomfilter Update copyrights for 2020 6 years ago
test_ddl_deparse Represent command completion tags as structs 6 years ago
test_extensions Avoid duplicates in ALTER ... DEPENDS ON EXTENSION 6 years ago
test_ginpostinglist Update copyrights for 2020 6 years ago
test_integerset Update copyrights for 2020 6 years ago
test_misc Avoid using INFO elevel for what are fundamentally debug messages. 6 years ago
test_parser Remove support for upgrading extensions from "unpackaged" state. 6 years ago
test_pg_dump Add pg_dump support for ALTER obj DEPENDS ON EXTENSION 6 years ago
test_predtest Update copyrights for 2020 6 years ago
test_rbtree Update copyrights for 2020 6 years ago
test_rls_hooks Introduce macros for typalign and typstorage constants. 6 years ago
test_shm_mq Update copyrights for 2020 6 years ago
unsafe_tests Disallow dropping rules on system tables by default 6 years ago
worker_spi Update copyrights for 2020 6 years ago
Makefile Provide a TLS init hook 6 years ago
README Add an enforcement mechanism for global object names in regression tests. 7 years ago

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".

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.