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-001nxi-9j@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_10_STABLE

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

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.