mirror of
https://github.com/postgres/postgres.git
synced 2026-04-12 04:26:44 -04:00
This Perl segfaults if a declaration of the to-be-aliased package
precedes the aliasing itself. Per buildfarm members lapwing and wrasse.
Like commit 20911775de, back-patch to v10
(all supported versions).
Discussion: https://postgr.es/m/20220625171533.GA2012493@rfd.leadboat.com
11 lines
291 B
Perl
11 lines
291 B
Perl
# Copyright (c) 2022, PostgreSQL Global Development Group
|
|
|
|
# Allow use of release 15+ Perl package name in older branches, by giving that
|
|
# package the same symbol table as the older package.
|
|
|
|
use strict;
|
|
use warnings;
|
|
BEGIN { *PostgreSQL::Test::Utils:: = \*TestLib::; }
|
|
use TestLib ();
|
|
|
|
1;
|