postgresql/src/test/modules
Alvaro Herrera de31e6f81e
BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking
That bit is unlogged and therefore it's wrong to consider it in WAL page
comparison.

Add a test that tickles the case, as branch testing technology allows.

This has been a problem ever since wal consistency checking was
introduced (commit a507b86900 for pg10), so backpatch to all supported
branches.

Author: 王海洋 (Haiyang Wang) <wanghaiyang.001@bytedance.com>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://postgr.es/m/CACciXAD2UvLMOhc4jX9VvOKt7DtYLr3OYRBhvOZ-jRxtzc_7Jg@mail.gmail.com
Discussion: https://postgr.es/m/CACciXADOfErX9Bx0nzE_SkdfXr6Bbpo5R=v_B6MUTEYW4ya+cg@mail.gmail.com
2022-08-05 18:00:17 +02:00
..
brin BRIN: mask BRIN_EVACUATE_PAGE for WAL consistency checking 2022-08-05 18:00:17 +02:00
commit_ts Introduce xid8-based functions to replace txid_XXX. 2020-04-07 12:04:32 +12:00
dummy_index_am Initial pgindent and pgperltidy run for v13. 2020-05-14 13:06:50 -04:00
dummy_seclabel doc: Fix naming of SELinux 2020-01-10 09:36:55 +09:00
snapshot_too_old Reduce test runtime of src/test/modules/snapshot_too_old. 2022-08-03 11:14:55 -04:00
ssl_passphrase_callback Make ssl certificate for ssl_passphrase_callback test via Makefile 2020-06-01 17:32:32 -04:00
test_bloomfilter Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_ddl_deparse Fix DDL deparse of CREATE OPERATOR CLASS 2022-05-20 18:52:55 +02:00
test_extensions Fix use-after-free bug with event triggers in an extension script 2020-09-15 21:03:14 -03:00
test_ginpostinglist Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_integerset Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_misc Message fixes and style improvements 2020-09-14 06:42:07 +02:00
test_parser Remove support for upgrading extensions from "unpackaged" state. 2020-02-19 16:59:14 -05:00
test_pg_dump Fix pg_dump for GRANT OPTION among initial privileges. 2021-01-16 12:21:38 -08:00
test_predtest Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_rbtree Update copyrights for 2020 2020-01-01 12:21:45 -05:00
test_rls_hooks Introduce macros for typalign and typstorage constants. 2020-03-04 10:34:25 -05:00
test_shm_mq Avoid using ambiguous word "non-negative" in error messages. 2021-07-28 01:21:52 +09:00
unsafe_tests Disallow dropping rules on system tables by default 2019-12-20 08:27:37 +01:00
worker_spi Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Fix assorted portability issues in commit 896fcdb23. 2020-03-25 19:37:30 -04: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.