Add a test module for Object Access hooks
Andrew Dunstan <andrew@dunslane.net>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/Makefile | modified | +1 −0 |
| src/test/modules/test_oat_hooks/expected/test_oat_hooks.out | added | +209 −0 |
| src/test/modules/test_oat_hooks/.gitignore | added | +4 −0 |
| src/test/modules/test_oat_hooks/Makefile | added | +24 −0 |
| src/test/modules/test_oat_hooks/README | added | +86 −0 |
| src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql | added | +52 −0 |
| src/test/modules/test_oat_hooks/test_oat_hooks.c | added | +934 −0 |
| src/test/modules/test_oat_hooks/test_oat_hooks.conf | added | +1 −0 |
Discussion
- New Object Access Type hooks 62 messages · 2022-03-18 → 2022-06-22