aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2022-11-16 09:52:21 +0900
committerMichael Paquier <michael@paquier.xyz>2022-11-16 09:52:21 +0900
commit006b69fd912b8fa0e9d80df3f61829a5c976c3d3 (patch)
tree1850efa77b6c1a896cb1cf302c8c75e94784e499 /src/backend/access/gist/gistxlog.c
parent1eda3ce80287f985f8165640d4bf663fe4649b41 (diff)
downloadpostgresql-006b69fd912b8fa0e9d80df3f61829a5c976c3d3.tar.gz
postgresql-006b69fd912b8fa0e9d80df3f61829a5c976c3d3.zip
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/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions