pgsql: Fix new Object Access hooks test

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix new Object Access hooks test
Date: 2022-03-22 17:35:40
Message-ID: E1nWiPz-000tiy-Vk@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-03-22 20:21:25 pgsql: Tidy up Object Access hooks tests
Previous Message Andres Freund 2022-03-22 15:29:31 pgsql: Add missing dependency of pg_dumpall to WIN32RES.