From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: For PostgreSQL::Test compatibility, alias entire package symbol |
Date: | 2022-06-25 16:10:22 |
Message-ID: | E1o58MY-001lnG-9z@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/e8f037a2df9b6f5936c7958dcc18a2b8d609f410
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Cluster.pm | 9 ++++---
src/test/perl/PostgreSQL/Test/Utils.pm | 38 ++++--------------------------
src/test/perl/PostgresNode.pm | 25 +++++++++-----------
src/test/perl/TestLib.pm | 40 --------------------------------
4 files changed, 21 insertions(+), 91 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2022-06-25 21:17:03 | pgsql: Fix PostgreSQL::Test aliasing for Perl v5.10.1. |
Previous Message | Peter Eisentraut | 2022-06-24 11:10:49 | pgsql: Remove unportable test |