We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8910a25 commit fea1cc4Copy full SHA for fea1cc4
contrib/basebackup_to_shell/t/001_basic.pl
@@ -17,7 +17,12 @@
17
}
18
19
my $node = PostgreSQL::Test::Cluster->new('primary');
20
-$node->init('allows_streaming' => 1);
+
21
+# Make sure pg_hba.conf is set up to allow connections from backupuser.
22
+# This is only needed on Windows machines that don't use UNIX sockets.
23
+$node->init('allows_streaming' => 1,
24
+ 'auth_extra' => [ '--create-role', 'backupuser' ]);
25
26
$node->append_conf('postgresql.conf',
27
"shared_preload_libraries = 'basebackup_to_shell'");
28
$node->start;
0 commit comments