1
0
mirror of https://github.com/postgres/postgres.git synced 2026-01-26 09:41:40 +03:00

Allow role created by new test to log in on Windows.

We must tell init about each role name we plan to connect as,
else SSPI auth fails.  Similar to previous patches such as
da44d71e7.

Oversight in f3c9e341c, per buildfarm member drongo.
This commit is contained in:
Tom Lane
2026-01-04 18:14:02 -05:00
parent ba75f71752
commit e3fbc9a8de

View File

@@ -9,7 +9,7 @@ use Test::More;
my $node = PostgreSQL::Test::Cluster->new('node');
$node->init;
$node->init('auth_extra' => [ '--create-role', 'user01' ]);
# Create temporary directories for the extension control files
my $ext_dir = PostgreSQL::Test::Utils::tempdir();