Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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