Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6e70443

Browse files
committed
Disable autovacuum for BRIN test table
This should improve stability in the tests. Per buildfarm member hyrax (CLOBBER_CACHE_ALWAYS) via Tom Lane. Discussion: https://postgr.es/m/[email protected]
1 parent 22e75a3 commit 6e70443

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/brin.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CREATE TABLE brintest (byteacol bytea,
2626
int4rangecol int4range,
2727
lsncol pg_lsn,
2828
boxcol box
29-
) WITH (fillfactor=10);
29+
) WITH (fillfactor=10, autovacuum_enabled=off);
3030
INSERT INTO brintest SELECT
3131
repeat(stringu1, 8)::bytea,
3232
substr(stringu1, 1, 1)::"char",

src/test/regress/sql/brin.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CREATE TABLE brintest (byteacol bytea,
2626
int4rangecol int4range,
2727
lsncol pg_lsn,
2828
boxcol box
29-
) WITH (fillfactor=10);
29+
) WITH (fillfactor=10, autovacuum_enabled=off);
3030

3131
INSERT INTO brintest SELECT
3232
repeat(stringu1, 8)::bytea,

0 commit comments

Comments
 (0)