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

Commit47a22dc

Browse files
committed
Revert "Prevent instability in contrib/pageinspect's regression test."
This reverts commit5cda142(in v14 only).It turns out that that fails under force_parallel_mode = regress,because pageinspect's disk-access functions are marked parallelsafe, 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 ofmaking this test case fully stable, so we will just leave thingsas-is in v14.
1 parent5cda142 commit47a22dc

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 (aint, bint);
3+
CREATETABLEtest1 (aint, bint);
54
INSERT INTO test1VALUES (16777217,131584);
65

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp