From: Michael Paquier Date: Tue, 12 May 2026 07:44:30 +0000 (+0900) Subject: Add missing include in Cluster.pm X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e95e6e153e7021f9db09459a9b706e3026642b3d;p=thirdparty%2Fpostgresql.git Add missing include in Cluster.pm The postmaster test 004_negotiate.pl could fail due to IO::Socket::INET gone missing, in environments that cannot use Unix sockets. Oversight in the backport done in 6dffaeb8e54c, so like the other commit this is applied across the v14~17 range. Per buildfarm member drongo. Security: CVE-2026-6479 Backpatch-through: 14 --- diff --git a/src/test/perl/PostgreSQL/Test/Cluster.pm b/src/test/perl/PostgreSQL/Test/Cluster.pm index 65351e9d3a1..cdc247e559a 100644 --- a/src/test/perl/PostgreSQL/Test/Cluster.pm +++ b/src/test/perl/PostgreSQL/Test/Cluster.pm @@ -107,6 +107,7 @@ use File::Path qw(rmtree mkpath); use File::Spec; use File::stat qw(stat); use File::Temp (); +use IO::Socket::INET; use IPC::Run; use PostgreSQL::Version; use PostgreSQL::Test::RecursiveCopy;