1
0
mirror of https://github.com/postgres/postgres.git synced 2026-10-23 13:29:09 +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
e3fbc9a8d.

Oversight in a39e53a70, per buildfarm member unicorn.
This commit is contained in:
Tom Lane
2026-10-16 10:05:43 -04:00
parent fe624a3fdb
commit 1212d5d33b

View File

@@ -28,7 +28,8 @@ sub prepare_for_next_test
}
my $node = PostgreSQL::Test::Cluster->new('main');
$node->init;
$node->init('auth_extra' => [ '--create-role', 'regress_dbowner' ]);
# Limit to one autovacuum worker and disable autovacuum logging globally
# (enabled only on the test table) so that log checks below match only