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
Michael Paquier 5bfe6a3c48 Fix timestamp range handling in regression tests of modules/commit_ts/ 6 years ago
..
brin Add PGXS options to control TAP and isolation tests, take two 7 years ago
commit_ts Fix timestamp range handling in regression tests of modules/commit_ts/ 6 years ago
dummy_index_am Initial pgindent and pgperltidy run for v13. 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 Make ssl certificate for ssl_passphrase_callback test via Makefile 6 years ago
test_bloomfilter Update copyrights for 2020 6 years ago
test_ddl_deparse Introduce xid8-based functions to replace txid_XXX. 6 years ago
test_extensions Add ALTER .. NO DEPENDS ON 6 years ago
test_ginpostinglist Update copyrights for 2020 6 years ago
test_integerset Update copyrights for 2020 6 years ago
test_misc tap tests: replace 'master' with 'primary'. 6 years ago
test_parser Remove support for upgrading extensions from "unpackaged" state. 6 years ago
test_pg_dump Refactor AlterExtensionContentsStmt grammar 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 Spelling adjustments 6 years ago
unsafe_tests Remove junk in test file 6 years ago
worker_spi Update copyrights for 2020 6 years ago
Makefile Fix assorted portability issues in commit 896fcdb23. 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.