From 1212d5d33b178173648719c354d54cfaaa45ba4b Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 16 Oct 2026 10:05:43 -0400 Subject: [PATCH] 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. --- src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl b/src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl index 7312ae3dd4a..33b50c13f7c 100644 --- a/src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl +++ b/src/test/modules/test_autovacuum/t/001_parallel_autovacuum.pl @@ -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