Skip to content

Commit 47a22dc

Browse files
committed
Revert "Prevent instability in contrib/pageinspect's regression test."
This reverts commit 5cda142 (in v14 only). It turns out that that fails under force_parallel_mode = regress, because pageinspect's disk-access functions are marked parallel safe, which they are not if you try to use them on a temp table. The cost of fixing that pre-v15 seems to exceed the value of making this test case fully stable, so we will just leave things as-is in v14.
1 parent 5cda142 commit 47a22dc

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

contrib/pageinspect/expected/page.out

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
CREATE EXTENSION pageinspect;
2-
-- Use a temp table so that effects of VACUUM are predictable
3-
CREATE TEMP TABLE test1 (a int, b int);
2+
CREATE TABLE test1 (a int, b int);
43
INSERT INTO test1 VALUES (16777217, 131584);
54
VACUUM (DISABLE_PAGE_SKIPPING) test1; -- set up FSM
65
-- The page contents can vary, so just test that it can be read

contrib/pageinspect/sql/page.sql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
CREATE EXTENSION pageinspect;
22

3-
-- Use a temp table so that effects of VACUUM are predictable
4-
CREATE TEMP TABLE test1 (a int, b int);
3+
CREATE TABLE test1 (a int, b int);
54
INSERT INTO test1 VALUES (16777217, 131584);
65

76
VACUUM (DISABLE_PAGE_SKIPPING) test1; -- set up FSM

0 commit comments

Comments
 (0)