]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix PostgreSQL::Test aliasing for Perl v5.10.1.
authorNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 21:15:56 +0000 (14:15 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 21:16:00 +0000 (14:16 -0700)
commitbf92b73beb509f58f4338e31269495489a2ea610
treeaf63c024a293167631e79f0ea3e544d5550174d9
parent6d49cc28613b81c96f1c0e8891515e8f0aeafb61
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
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/perl/PostgreSQL/Test/Utils.pm