Обсуждение: pgsql: Fix new Object Access hooks test

Поиск
Список
Период
Сортировка

pgsql: Fix new Object Access hooks test

От
Andrew Dunstan
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f0206d99520ebdb751469ad53ff62bbff817ab3d

Modified Files
--------------
src/test/modules/test_oat_hooks/Makefile                    |  3 ---
src/test/modules/test_oat_hooks/expected/test_oat_hooks.out |  1 +
src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql      |  1 +
src/test/modules/test_oat_hooks/test_oat_hooks.c            | 12 ++----------
src/test/modules/test_oat_hooks/test_oat_hooks.conf         |  1 -
5 files changed, 4 insertions(+), 14 deletions(-)