Allow roles created by new test to log in under SSPI.
authorTom Lane <[email protected]>
Tue, 8 Oct 2024 23:46:39 +0000 (19:46 -0400)
committerTom Lane <[email protected]>
Tue, 8 Oct 2024 23:46:50 +0000 (19:46 -0400)
Semi-blind attempt to fix 6a1d0d470 to work on Windows,
along the same lines as a70f2a57f.  Per buildfarm.

src/test/postmaster/t/001_connection_limits.pl

index 3e681f9dc53ec5db1c8c369e1b2360ff29e74a50..102c23e2c1a8f50cbeddf88c2091d0941a7cb667 100644 (file)
@@ -12,7 +12,10 @@ use Test::More;
 
 # Initialize the server with specific low connection limits
 my $node = PostgreSQL::Test::Cluster->new('primary');
-$node->init;
+$node->init(
+   'auth_extra' => [
+       '--create-role', 'regress_regular,regress_reserved,regress_superuser'
+   ]);
 $node->append_conf('postgresql.conf', "max_connections = 6");
 $node->append_conf('postgresql.conf', "reserved_connections = 2");
 $node->append_conf('postgresql.conf', "superuser_reserved_connections = 1");