mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +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 as14793f471
,973542866
. Oversight in208927e65
, per buildfarm member drongo. (Although that was back-patched to v13, the test script only exists in v16 and up.)
This commit is contained in:
@@ -11,7 +11,7 @@ use Test::More;
|
|||||||
|
|
||||||
my $node = PostgreSQL::Test::Cluster->new('main');
|
my $node = PostgreSQL::Test::Cluster->new('main');
|
||||||
|
|
||||||
$node->init;
|
$node->init('auth_extra' => [ '--create-role', 'test_user' ]);
|
||||||
$node->append_conf(
|
$node->append_conf(
|
||||||
'postgresql.conf',
|
'postgresql.conf',
|
||||||
qq{shared_preload_libraries = 'pg_prewarm'
|
qq{shared_preload_libraries = 'pg_prewarm'
|
||||||
|
Reference in New Issue
Block a user