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

Commitcbf4177

Browse files
committed
Disable synchronize_seqscans in 027_stream_regress.pl.
This script runs the core regression tests with quite a small value ofshared_buffers, making it prone to breakage due to synchronize_seqscanskicking in where the tests don't expect that. Disable that feature tostabilize the tests.Discussion:https://postgr.es/m/1258185.1648876239@sss.pgh.pa.us
1 parent4eb9798 commitcbf4177

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎src/test/recovery/t/027_stream_regress.pl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,14 @@
1616
# Initialize primary node
1717
my$node_primary = PostgreSQL::Test::Cluster->new('primary');
1818
$node_primary->init(allows_streaming=> 1);
19+
20+
# Increase some settings that Cluster->new makes too low by default.
1921
$node_primary->adjust_conf('postgresql.conf','max_connections','25');
2022
$node_primary->append_conf('postgresql.conf','max_prepared_transactions = 10');
23+
# We'll stick with Cluster->new's small default shared_buffers, but since that
24+
# makes synchronized seqscans more probable, it risks changing the results of
25+
# some test queries. Disable synchronized seqscans to prevent that.
26+
$node_primary->append_conf('postgresql.conf','synchronize_seqscans = off');
2127

2228
# WAL consistency checking is resource intensive so require opt-in with the
2329
# PG_TEST_EXTRA environment variable.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp