We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b987be3 commit b7bdadeCopy full SHA for b7bdade
src/test/recovery/t/040_standby_failover_slots_sync.pl
@@ -15,6 +15,10 @@
15
# Create publisher
16
my $publisher = PostgreSQL::Test::Cluster->new('publisher');
17
$publisher->init(allows_streaming => 'logical');
18
+# Disable autovacuum to avoid generating xid during stats update as otherwise
19
+# the new XID could then be replicated to standby at some random point making
20
+# slots at primary lag behind standby during slot sync.
21
+$publisher->append_conf('postgresql.conf', 'autovacuum = off');
22
$publisher->start;
23
24
$publisher->safe_psql('postgres',
0 commit comments