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

Commitb9dd162

Browse files
committed
Try to stabilize reloptions test, again.
Since the test requires reproducible behavior from VACUUM, and sinceDISABLE_PAGE_SKIPPING doesn't actually disable all forms of pageskipping, let's use a temporary table to avoid contention.Back-patch to 12, like commit3414099.Discussion:https://postgr.es/m/20220120052404.sonrhq3f3qgplpzj%40alap3.anarazel.de
1 parenta9009f5 commitb9dd162

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+
CREATETEMPTABLE 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
DROPTABLE reloptions_test;
5757

58-
CREATETABLEreloptions_test(iINTNOT NULL, jtext)
58+
CREATETEMPTABLE reloptions_test(iINTNOT NULL, jtext)
5959
WITH (vacuum_truncate=false,
6060
toast.vacuum_truncate=false,
6161
autovacuum_enabled=false);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp