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-001nxZ-7u@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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4b0d21b06c6b0f3b0fec0d069759f4b82913e452

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.