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
Noah Misch db0c96cc18 Fix .gitignore for new injection suite. 2 years ago
..
brin Update copyright for 2024 2 years ago
commit_ts Revise GUC names quoting in messages again 2 years ago
delay_execution Update copyright for 2024 2 years ago
dummy_index_am Update copyright for 2024 2 years ago
dummy_seclabel Update copyright for 2024 2 years ago
gin Make GIN tests using injection points concurrent-safe 2 years ago
injection_points Fix .gitignore for new injection suite. 2 years ago
ldap_password_func Make the order of the header file includes consistent 2 years ago
libpq_pipeline Revise GUC names quoting in messages again 2 years ago
plsample Update copyright for 2024 2 years ago
spgist_name_ops Update copyright for 2024 2 years ago
ssl_passphrase_callback Revise GUC names quoting in messages again 2 years ago
test_bloomfilter Update copyright for 2024 2 years ago
test_copy_callbacks Update copyright for 2024 2 years ago
test_custom_rmgrs Update copyright for 2024 2 years ago
test_ddl_deparse Revert structural changes to not-null constraints 2 years ago
test_dsa Make the order of the header file includes consistent 2 years ago
test_dsm_registry Introduce the dynamic shared memory registry. 2 years ago
test_extensions Repair ALTER EXTENSION ... SET SCHEMA. 2 years ago
test_ginpostinglist Fix some typos 2 years ago
test_integerset Update copyright for 2024 2 years ago
test_json_parser Add Windows file version information to test_json_parser programs. 2 years ago
test_lfind Update copyright for 2024 2 years ago
test_misc Make all Perl warnings fatal, catch-up 2 years ago
test_oat_hooks Fix search_path to a safe value during maintenance operations. 2 years ago
test_parser Update copyright for 2024 2 years ago
test_pg_dump Improve tracking of role dependencies of pg_init_privs entries. 2 years ago
test_predtest Tighten test_predtest's input checks, and improve error messages. 2 years ago
test_radixtree Pre-beta mechanical code beautification. 2 years ago
test_rbtree Update copyright for 2024 2 years ago
test_regex Update copyright for 2024 2 years ago
test_resowner Fix typos and duplicate words 2 years ago
test_rls_hooks Update copyright for 2024 2 years ago
test_shm_mq Revise GUC names quoting in messages again 2 years ago
test_slru Revise GUC names quoting in messages again 2 years ago
test_tidstore Fix segmentation fault in test_tidstore. 2 years ago
unsafe_tests Update copyright for 2024 2 years ago
worker_spi Fix an assortment of typos 2 years ago
xid_wraparound Fix meson installation of xid_wraparound test. 2 years ago
Makefile Revert: Custom reloptions for table AM 2 years ago
README Add an enforcement mechanism for global object names in regression tests. 7 years ago
meson.build Revert: Custom reloptions for table AM 2 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.