Skip to content

Commit dbe4ca6

Browse files
committed
Try to stabilize reloptions test, again.
Since the test requires reproducible behavior from VACUUM, and since DISABLE_PAGE_SKIPPING doesn't actually disable all forms of page skipping, let's use a temporary table to avoid contention. Back-patch to 12, like commit 3414099. Discussion: https://postgr.es/m/20220120052404.sonrhq3f3qgplpzj%40alap3.anarazel.de
1 parent e58345f commit dbe4ca6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/reloptions.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ALTER TABLE reloptions_test RESET (fillfactor=12);
8989
ERROR: RESET must not include values for parameters
9090
-- Test vacuum_truncate option
9191
DROP TABLE reloptions_test;
92-
CREATE TABLE reloptions_test(i INT NOT NULL, j text)
92+
CREATE TEMP TABLE reloptions_test(i INT NOT NULL, j text)
9393
WITH (vacuum_truncate=false,
9494
toast.vacuum_truncate=false,
9595
autovacuum_enabled=false);

src/test/regress/sql/reloptions.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ALTER TABLE reloptions_test RESET (fillfactor=12);
5555
-- Test vacuum_truncate option
5656
DROP TABLE reloptions_test;
5757

58-
CREATE TABLE reloptions_test(i INT NOT NULL, j text)
58+
CREATE TEMP TABLE reloptions_test(i INT NOT NULL, j text)
5959
WITH (vacuum_truncate=false,
6060
toast.vacuum_truncate=false,
6161
autovacuum_enabled=false);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy