Fix new Object Access hooks test
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 22 Mar 2022 17:27:26 +0000 (13:27 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 22 Mar 2022 17:27:26 +0000 (13:27 -0400)
commitf0206d99520ebdb751469ad53ff62bbff817ab3d
treefdaf36c2045ff5fabe3b1422cc7d6ebc303997bf
parent097786fbbb58897fec12ed9bfff3940c77b5867b
Fix new Object Access hooks test

Commit 90efa2f556 caused some issues with EXEC_BACKEND builds and with
force_parallel_mode = regress setups. For the first issue we no longer
test if the module has been preloaded, and in fact we don't preload it,
but simply LOAD it in the test script. For the second issue we suppress
error messages emanating from parallel workers.

Mark Dilger

Discussion: https://postgr.es/m/7f6d54a1-4024-3b6e-e3ec-26cd394aac9e@dunslane.net
src/test/modules/test_oat_hooks/Makefile
src/test/modules/test_oat_hooks/expected/test_oat_hooks.out
src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql
src/test/modules/test_oat_hooks/test_oat_hooks.c
src/test/modules/test_oat_hooks/test_oat_hooks.conf [deleted file]