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

Commitfea1cc4

Browse files
committed
In basebackup_to_shell tests, properly set up pg_hba.conf.
Discussion:http://postgr.es/m/485495.1648692468@sss.pgh.pa.us
1 parent8910a25 commitfea1cc4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎contrib/basebackup_to_shell/t/001_basic.pl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
}
1818

1919
my$node = PostgreSQL::Test::Cluster->new('primary');
20-
$node->init('allows_streaming'=> 1);
20+
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+
2126
$node->append_conf('postgresql.conf',
2227
"shared_preload_libraries = 'basebackup_to_shell'");
2328
$node->start;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp