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(+)