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

Commit4964253

Browse files
committed
Put back explicit setting of replication values within TAP tests.
Commit151c0c5 neglected the possibility that a TEMP_CONFIG filewould explicitly set max_wal_senders=0; as indeed buildfarm memberthorntail does, so that it can test wal_level=minimal in other testsuites. Hence, rather than assuming that max_wal_senders=10 willprevail if we say nothing, set it explicitly.Set max_replication_slots=10 explicitly too, just to be safe.Back-patch to v10, like the previous patch.Discussion:https://postgr.es/m/723911.1601417626@sss.pgh.pa.us
1 parente176187 commit4964253

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/test/perl/PostgresNode.pm

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,12 +469,15 @@ sub init
469469
{
470470
print$conf"wal_level = replica\n";
471471
}
472-
print$conf"max_wal_size = 128MB\n";
472+
print$conf"max_wal_senders = 10\n";
473+
print$conf"max_replication_slots = 10\n";
473474
print$conf"wal_log_hints = on\n";
474475
print$conf"hot_standby = on\n";
475476
# conservative settings to ensure we can run multiple postmasters:
476477
print$conf"shared_buffers = 1MB\n";
477478
print$conf"max_connections = 10\n";
479+
# limit disk space consumption, too:
480+
print$conf"max_wal_size = 128MB\n";
478481
}
479482
else
480483
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp