From: Amit Kapila Date: Fri, 1 May 2026 09:05:26 +0000 (+0530) Subject: Fix BF failure introduced in commit 2bf6c9ff71. X-Git-Tag: REL_19_BETA1~200 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f67dbd8398c060362802cb559261893881c21cbe;p=thirdparty%2Fpostgresql.git Fix BF failure introduced in commit 2bf6c9ff71. The sequence subscription test switches regress_seq_sub to connect to the publisher as regress_seq_repl (a non-superuser) when checking behavior with insufficient sequence privileges but forgot to set up pg_hba.conf to allow connections from it. The special setup is only needed on Windows machines that don't use UNIX sockets. As per buildfarm. Reported-by: Ajin Cherian Author: Ayush Tiwari Reviewed-by: vignesh C Discussion: https://postgr.es/m/CAFPTHDad911HUMkHgD1KZk+WOvTopiBcYf4C_8Fqj1-sZk3xgw@mail.gmail.com --- diff --git a/src/test/subscription/t/036_sequences.pl b/src/test/subscription/t/036_sequences.pl index e6dd3b069b8..387b057268d 100644 --- a/src/test/subscription/t/036_sequences.pl +++ b/src/test/subscription/t/036_sequences.pl @@ -10,7 +10,11 @@ use Test::More; # Initialize publisher node my $node_publisher = PostgreSQL::Test::Cluster->new('publisher'); -$node_publisher->init(allows_streaming => 'logical'); +# Make sure pg_hba.conf is set up to allow connections from regress_seq_repl. +# This is only needed on Windows machines that don't use UNIX sockets. +$node_publisher->init( + allows_streaming => 'logical', + auth_extra => [ '--create-role' => 'regress_seq_repl' ]); $node_publisher->start; # Initialize subscriber node