diff options
| author | Michael Paquier <michael@paquier.xyz> | 2022-11-16 09:52:21 +0900 |
|---|---|---|
| committer | Michael Paquier <michael@paquier.xyz> | 2022-11-16 09:52:21 +0900 |
| commit | 006b69fd912b8fa0e9d80df3f61829a5c976c3d3 (patch) | |
| tree | 1850efa77b6c1a896cb1cf302c8c75e94784e499 /src/test/modules/Makefile | |
| parent | 1eda3ce80287f985f8165640d4bf663fe4649b41 (diff) | |
Add test module for SLRUs
This commit introduces a basic facility to test SLRUs, in terms of
initialization, page reads, writes, flushes, truncation and deletions,
using SQL wrappers around the APIs of slru.c. This should be easily
extensible at will, and it can be used as a starting point for someone
willing to implement an external module that makes use of SLRUs (LWLock
tranche registering and SLRU initialization particularly).
As this requires a loaded library, the tests use a custom configuration
file and are disabled under installcheck.
Author: Aleksander Alekseev, Michael Paquier
Reviewed-by: Pavel Borisov, Daniel Gustafsson, Noah Misch, Maxim Orlov
Discussion: https://postgr.es/m/CAJ7c6TOFoWcHOW4BVe3BG_uikCrO9B91ayx9d6rh5JZr_tPESg@mail.gmail.com
Diffstat (limited to 'src/test/modules/Makefile')
| -rw-r--r-- | src/test/modules/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/modules/Makefile b/src/test/modules/Makefile index 548469f7c1d..96addded814 100644 --- a/src/test/modules/Makefile +++ b/src/test/modules/Makefile @@ -31,6 +31,7 @@ SUBDIRS = \ test_regex \ test_rls_hooks \ test_shm_mq \ + test_slru \ unsafe_tests \ worker_spi |
