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
Álvaro Herrera 23ddadf683
BRIN autosummarization may need a snapshot
2 months ago
..
brin BRIN autosummarization may need a snapshot 2 months ago
commit_ts Replace Test::More plans with done_testing 4 years ago
delay_execution Remove non-functional code for unloading loadable modules. 4 years ago
dummy_index_am Revert changes in HOT handling of BRIN indexes 4 years ago
dummy_seclabel Update copyright for 2022 4 years ago
libpq_pipeline Fix incorrect error message in libpq_pipeline 3 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 Pre-beta mechanical code beautification. 4 years ago
test_bloomfilter Update copyright for 2022 4 years ago
test_ddl_deparse Fix DDL deparse of CREATE OPERATOR CLASS 4 years ago
test_escape With GB18030, prevent SIGSEGV from reading past end of allocation. 8 months ago
test_extensions Reject substituting extension schemas or owners matching ["$'\]. 2 years ago
test_ginpostinglist Update copyright for 2022 4 years ago
test_integerset Update copyright for 2022 4 years ago
test_misc Fix assertion failure with replication slot release in single-user mode 5 months ago
test_oat_hooks Disable debug_discard_caches in test_oat_hooks test. 3 years ago
test_parser Update copyright for 2022 4 years ago
test_pg_dump Drop global objects after completed test 1 year ago
test_predtest Tighten test_predtest's input checks, and improve error messages. 2 years ago
test_rbtree Update copyright for 2022 4 years ago
test_regex Avoid assertion due to disconnected NFA sub-graphs in regex parsing. 1 year ago
test_rls_hooks Remove non-functional code for unloading loadable modules. 4 years ago
test_shm_mq Use correct DatumGet*() function in test_shm_mq_main(). 7 months ago
unsafe_tests Fix per-session activation of ALTER {ROLE|DATABASE} SET role. 1 year ago
worker_spi pgstat: store statistics in shared memory. 4 years ago
Makefile Add test of various escape functions 11 months 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.