From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add a test module for Object Access hooks |
Date: | 2022-03-22 14:29:53 |
Message-ID: | E1nWfWC-000sSF-BY@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add a test module for Object Access hooks
This includes tests of both the newly added name type object access
hooks and the older Oid type hooks, and provides a useful example
of how to use the hooks.
Mark Dilger, based on some code from Joshua Brindle.
Discussion: https://postgr.es/m/47F87A0E-C0E5-43A6-89F6-D403F2B45175@enterprisedb.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/90efa2f5565d28054c30c18f6a2f17f94fdff91e
Modified Files
--------------
src/test/modules/Makefile | 1 +
src/test/modules/test_oat_hooks/.gitignore | 4 +
src/test/modules/test_oat_hooks/Makefile | 24 +
src/test/modules/test_oat_hooks/README | 86 ++
.../test_oat_hooks/expected/test_oat_hooks.out | 209 +++++
.../modules/test_oat_hooks/sql/test_oat_hooks.sql | 52 ++
src/test/modules/test_oat_hooks/test_oat_hooks.c | 934 +++++++++++++++++++++
.../modules/test_oat_hooks/test_oat_hooks.conf | 1 +
8 files changed, 1311 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-03-22 15:16:07 | pgsql: pgstat: fix function name in comment. |
Previous Message | Tom Lane | 2022-03-22 14:19:25 | pgsql: Revert "graceful shutdown" changes for Windows. |