postgresql/src/test/modules
2025-12-23 15:00:16 +09:00
..
brin BRIN autosummarization may need a snapshot 2025-11-04 13:23:26 +01:00
commit_ts Disable commit timestamps during bootstrap 2025-07-04 15:10:21 +09:00
delay_execution meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
dummy_index_am Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
dummy_seclabel Improve several permission-related error messages. 2023-03-17 10:33:09 +01:00
ldap_password_func Don't install ldap_password_func in meson 2023-11-08 11:28:33 +01:00
libpq_pipeline meson: Add missing dependencies to libpq_pipeline test 2025-02-04 17:56:20 -05:00
plsample meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
snapshot_too_old Update copyright for 2023 2023-01-02 15:00:37 -05:00
spgist_name_ops meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
ssl_passphrase_callback Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
test_bloomfilter meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_cloexec Add missing .gitignore for src/test/modules/test_cloexec. 2025-12-23 15:00:16 +09:00
test_copy_callbacks meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_custom_rmgrs Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
test_ddl_deparse Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
test_escape With GB18030, prevent SIGSEGV from reading past end of allocation. 2025-05-05 04:52:07 -07:00
test_extensions Reject substituting extension schemas or owners matching ["$'\]. 2023-08-07 06:05:59 -07:00
test_ginpostinglist meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_integerset meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_lfind meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_misc Fix assertion failure with replication slot release in single-user mode 2025-08-20 15:00:13 +09:00
test_oat_hooks Revert "Fix search_path to a safe value during maintenance operations." 2023-06-10 08:11:41 -07:00
test_parser meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_pg_dump Allow meson builds to run test_pg_dump test in installcheck mode. 2024-09-24 12:40:11 +09:00
test_predtest Tighten test_predtest's input checks, and improve error messages. 2024-06-07 16:45:56 -04:00
test_rbtree meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_regex Avoid assertion due to disconnected NFA sub-graphs in regex parsing. 2024-11-15 18:23:38 -05:00
test_rls_hooks meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
test_shm_mq Use correct DatumGet*() function in test_shm_mq_main(). 2025-06-27 13:37:26 -05:00
test_slru Remove unused global variable 2023-04-21 11:41:58 +12:00
unsafe_tests Fix per-session activation of ALTER {ROLE|DATABASE} SET role. 2024-11-15 20:39:59 -08:00
worker_spi Harmonize some more function parameter names. 2023-04-13 10:15:20 -07:00
Makefile Fix O_CLOEXEC flag handling in Windows port. 2025-12-10 09:11:19 +13:00
meson.build Fix O_CLOEXEC flag handling in Windows port. 2025-12-10 09:11:19 +13:00
README Add an enforcement mechanism for global object names in regression tests. 2019-06-29 11:34:00 -04:00

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.