Skip to content

Commit c1838b6

Browse files
committed
Authorize new user in pg_basebackup tests
Commit 8e2b6d4 added a new unprivileged user for testing pg_basebackup, but omitted to add them to the cluster's authorized logins, breaking Windows tests run without using Unix sockets.
1 parent 94aa7cc commit c1838b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
umask(0077);
3232

3333
# Initialize node without replication settings
34-
$node->init(extra => ['--data-checksums']);
34+
$node->init(extra => ['--data-checksums'],
35+
auth_extra => [ '--create-role', 'backupuser' ]);
3536
$node->start;
3637
my $pgdata = $node->data_dir;
3738

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy