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
Tom Lane 1da0850f0e Reduce test runtime of src/test/modules/snapshot_too_old. 3 years ago
..
brin Replace Test::More plans with done_testing 4 years ago
commit_ts Replace Test::More plans with done_testing 4 years ago
delay_execution Remove now superfluous declarations of dlsym()ed symbols. 4 years ago
dummy_index_am Remove now superfluous declarations of dlsym()ed symbols. 4 years ago
dummy_seclabel Remove now superfluous declarations of dlsym()ed symbols. 4 years ago
libpq_pipeline libpq: Improve idle state handling in pipeline mode 4 years ago
plsample Extend plsample example to include a trigger handler. 4 years ago
snapshot_too_old Reduce test runtime of src/test/modules/snapshot_too_old. 3 years ago
spgist_name_ops pg_upgrade: Preserve relfilenodes and tablespace OIDs. 4 years ago
ssl_passphrase_callback Remove now superfluous declarations of dlsym()ed symbols. 4 years ago
test_bloomfilter Update copyright for 2022 4 years ago
test_ddl_deparse Feed ObjectAddress to event triggers for ALTER TABLE ATTACH/DETACH 3 years ago
test_extensions
test_ginpostinglist Update copyright for 2022 4 years ago
test_integerset Update copyright for 2022 4 years ago
test_misc Pre-beta mechanical code beautification. 4 years ago
test_oat_hooks Remove test_oat_hooks.c's nodetag_to_string(). 3 years ago
test_parser Update copyright for 2022 4 years ago
test_pg_dump Pre-beta mechanical code beautification. 4 years ago
test_predtest Replace many MemSet calls with struct initialization 4 years ago
test_rbtree Add missing inequality searches to rbtree 4 years ago
test_regex Update copyright for 2022 4 years ago
test_rls_hooks Remove now superfluous declarations of dlsym()ed symbols. 4 years ago
test_shm_mq Mark all symbols exported from extension libraries PGDLLEXPORT. 4 years ago
unsafe_tests Fix missed corner cases for grantable permissions on GUCs. 3 years ago
worker_spi Mark all symbols exported from extension libraries PGDLLEXPORT. 4 years ago
Makefile Add a test module for Object Access hooks 4 years ago
README

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.