Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3efc82e

Browse files
committed
Disable debug_discard_caches in test_oat_hooks test.
The test output varies when debug_discard_caches is enabled,because that causes extra executions of recomputeNamespacePath.Maybe putting a hook in that was a bad idea, but as a stopgap,just turn off debug_discard_caches in this test.Per buildfarm (now that we have debug_discard_caches coverageagain). Back-patch to v15 where this module was added.Discussion:https://postgr.es/m/2267406.1668804934@sss.pgh.pa.us
1 parent3b8ad00 commit3efc82e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

‎src/test/modules/test_oat_hooks/expected/test_oat_hooks.out

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- This test script fails if debug_discard_caches is enabled, because cache
2+
-- flushes cause extra calls of the OAT hook in recomputeNamespacePath,
3+
-- resulting in more NOTICE messages than are in the expected output.
4+
SET debug_discard_caches = 0;
15
-- Creating privileges on a placeholder GUC should create entries in the
26
-- pg_parameter_acl catalog which conservatively grant no privileges to public.
37
CREATE ROLE regress_role_joe;

‎src/test/modules/test_oat_hooks/sql/test_oat_hooks.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
-- This test script fails if debug_discard_caches is enabled, because cache
2+
-- flushes cause extra calls of the OAT hook in recomputeNamespacePath,
3+
-- resulting in more NOTICE messages than are in the expected output.
4+
SET debug_discard_caches=0;
5+
16
-- Creating privileges on a placeholder GUC should create entries in the
27
-- pg_parameter_acl catalog which conservatively grant no privileges to public.
38
CREATE ROLE regress_role_joe;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp