summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-10-18 18:36:21 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-10-18 18:36:21 -0400
commitda44d71e799d5b3f03256169334044ad817c1dd7 (patch)
treefc8104c3862612ba7a4b277922f65282a95e328b
parente3b9e44689051d5bee199e333c748aac83396378 (diff)
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 14793f471, 973542866. Oversight in 208927e65, per buildfarm member drongo. (Although that was back-patched to v13, the test script only exists in v16 and up.)
-rw-r--r--contrib/pg_prewarm/t/001_basic.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_prewarm/t/001_basic.pl b/contrib/pg_prewarm/t/001_basic.pl
index a77ab67d29e..ed70ceb4fca 100644
--- a/contrib/pg_prewarm/t/001_basic.pl
+++ b/contrib/pg_prewarm/t/001_basic.pl
@@ -11,7 +11,7 @@ use Test::More;
my $node = PostgreSQL::Test::Cluster->new('main');
-$node->init;
+$node->init('auth_extra' => [ '--create-role', 'test_user' ]);
$node->append_conf(
'postgresql.conf',
qq{shared_preload_libraries = 'pg_prewarm'