pgsql: Fix PostgreSQL::Test aliasing for Perl v5.10.1. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Fix PostgreSQL::Test aliasing for Perl v5.10.1.
Date
Msg-id E1o5D9L-001nxf-9F@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix PostgreSQL::Test aliasing for Perl v5.10.1.

This Perl segfaults if a declaration of the to-be-aliased package
precedes the aliasing itself.  Per buildfarm members lapwing and wrasse.
Like commit 20911775de4ab7ac3ecc68bd714cb3ed0fd68b6a, back-patch to v10
(all supported versions).

Discussion: https://postgr.es/m/20220625171533.GA2012493@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/bf92b73beb509f58f4338e31269495489a2ea610

Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 7 +------
src/test/perl/PostgreSQL/Test/Utils.pm   | 7 +------
2 files changed, 2 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: For PostgreSQL::Test compatibility, alias entire package symbol
Next
From: Thomas Munro
Date:
Subject: pgsql: Don't trust signalfd() on illumos.