pgsql: Fix PostgreSQL::Test aliasing for Perl v5.10.1.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix PostgreSQL::Test aliasing for Perl v5.10.1.
Date: 2022-06-25 21:17:03
Message-ID: E1o5D9L-001nxi-9j@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2022-06-25 23:16:40 pgsql: Don't trust signalfd() on illumos.
Previous Message Noah Misch 2022-06-25 16:10:22 pgsql: CREATE INDEX: use the original userid for more ACL checks.