Content-Length: 285989 | pFad | https://github.com/postgrespro/postgres/commit/b700f96cffd91efbe93827d22c76b8f069809450

69 Try to stabilize reloptions test, again. · postgrespro/postgres@b700f96 · GitHub
Skip to content

Commit b700f96

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 b99ccd2 commit b700f96

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/b700f96cffd91efbe93827d22c76b8f069809450

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy