postgresql/src/test/modules
Andrew Dunstan cd8ce3a22c Add hooks for session start and session end
These hooks can be used in loadable modules. A simple test module is
included.

Discussion:  https://postgr.es/m/20170720204733.40f2b7eb.nagata@sraoss.co.jp

Fabrízio de Royes Mello  and Yugo Nagata
Reviewed by Michael Paquier and Aleksandr Parfenov
2017-11-15 10:16:34 -05:00
..
brin Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:08 -08:00
commit_ts Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:08 -08:00
dummy_seclabel Rework the options syntax for logical replication commands 2017-05-12 08:57:49 -04:00
snapshot_too_old Add a regression test for snapshot too old with hash indexes. 2017-03-15 10:53:07 -04:00
test_ddl_deparse Remove deprecated COMMENT ON RULE syntax 2017-02-23 08:19:52 -05:00
test_extensions psql: Use more consistent capitalization of some output headings 2017-06-13 14:41:14 -04:00
test_parser Remove contrib/tsearch2. 2017-02-13 11:06:11 -05:00
test_pg_dump Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:08 -08:00
test_rbtree Add a test harness for the red-black tree code. 2017-09-10 13:26:46 -04:00
test_rls_hooks Improve RLS planning by marking individual quals with security levels. 2017-01-18 12:58:20 -05:00
test_session_hooks Add hooks for session start and session end 2017-11-15 10:16:34 -05:00
test_shm_mq Add background worker type 2017-09-29 11:08:24 -04:00
worker_spi Add background worker type 2017-09-29 11:08:24 -04:00
Makefile Add hooks for session start and session end 2017-11-15 10:16:34 -05:00
README Add README in src/test and src/test/modules 2016-02-25 21:08:32 -03: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".

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.