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

Commit4d7c3e3

Browse files
committed
Fix recovery conflict in 027_stream_regress.pl.
To avoid "ERROR: canceling statement due to conflict with recovery",as seen on a couple of slower build farm animals, crankmax_standby_streaming_delay right up.In passing, adjust a configuration option that accidentally used anon-standard format (not a problem, but needlessly inconsistent).Reviewed-by: Andres Freund <andres@anarazel.de>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/CA%2BhUKGK65xVqNgsSPyrr2LEwtfUN%3DGfEuQ868hTC-mu0bFG42A%40mail.gmail.com
1 parent020258f commit4d7c3e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Initialize primary node
2121
my$node_primary = PostgreSQL::Test::Cluster->new('primary');
2222
$node_primary->init(allows_streaming=> 1);
23-
$node_primary->adjust_conf('postgresql.conf','max_connections','25', 1);
23+
$node_primary->adjust_conf('postgresql.conf','max_connections','25');
2424
$node_primary->append_conf('postgresql.conf','max_prepared_transactions = 10');
2525

2626
# WAL consistency checking is resource intensive so require opt-in with the
@@ -48,6 +48,8 @@
4848
has_streaming=> 1);
4949
$node_standby_1->append_conf('postgresql.conf',
5050
"primary_slot_name = standby_1");
51+
$node_standby_1->append_conf('postgresql.conf',
52+
'max_standby_streaming_delay = 600s');
5153
$node_standby_1->start;
5254

5355
my$dlpath = PostgreSQL::Test::Utils::perl2host(dirname($ENV{REGRESS_SHLIB}));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp