We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 963d307 commit def0ce3Copy full SHA for def0ce3
src/test/recovery/t/040_standby_failover_slots_sync.pl
@@ -14,7 +14,11 @@
14
15
# Create publisher
16
my $publisher = PostgreSQL::Test::Cluster->new('publisher');
17
-$publisher->init(allows_streaming => 'logical');
+# Make sure pg_hba.conf is set up to allow connections from repl_role.
18
+# This is only needed on Windows machines that don't use UNIX sockets.
19
+$publisher->init(
20
+ allows_streaming => 'logical',
21
+ auth_extra => [ '--create-role', 'repl_role' ]);
22
# Disable autovacuum to avoid generating xid during stats update as otherwise
23
# the new XID could then be replicated to standby at some random point making
24
# slots at primary lag behind standby during slot sync.
0 commit comments