From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: For PostgreSQL::Test compatibility, alias entire package symbol
Date: Sat, 25 Jun 2022 16:10:22 +0000
Message-ID: <E1o58MY-001lnR-Bk@gemulon.postgresql.org> (raw)
For PostgreSQL::Test compatibility, alias entire package symbol tables.
Remove the need to edit back-branch-specific code sites when
back-patching the addition of a PostgreSQL::Test::Utils symbol. Replace
per-symbol, incomplete alias lists. Give old and new package names the
same EXPORT and EXPORT_OK semantics. Back-patch to v10 (all supported
versions).
Reviewed by Andrew Dunstan.
Discussion: https://postgr.es/m/20220622072144.GD4167527@rfd.leadboat.com
Branch
------
REL_11_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/c41edb324294ea352bbe94b1bc0a43a7608c737d
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 9 +++++---
src/test/perl/PostgreSQL/Test/Utils.pm | 36 ++++--------------------------
src/test/perl/PostgresNode.pm | 25 +++++++++------------
src/test/perl/TestLib.pm | 38 --------------------------------
4 files changed, 21 insertions(+), 87 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: noah@leadboat.com
Subject: Re: pgsql: For PostgreSQL::Test compatibility, alias entire package symbol
In-Reply-To: <E1o58MY-001lnR-Bk@gemulon.postgresql.org>
References: <E1o58MY-001lnR-Bk@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox