mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Authorize new user in pg_basebackup tests
Commit 8e2b6d45a0
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.
This commit is contained in:
parent
94aa7cc5f7
commit
c1838b6f7a
@ -31,7 +31,8 @@ my @pg_basebackup_defs = ('pg_basebackup', '--no-sync', '-cfast');
|
||||
umask(0077);
|
||||
|
||||
# Initialize node without replication settings
|
||||
$node->init(extra => ['--data-checksums']);
|
||||
$node->init(extra => ['--data-checksums'],
|
||||
auth_extra => [ '--create-role', 'backupuser' ]);
|
||||
$node->start;
|
||||
my $pgdata = $node->data_dir;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user