For PostgreSQL::Test compatibility, alias entire package symbol tables.
authorNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 16:07:44 +0000 (09:07 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 25 Jun 2022 16:07:45 +0000 (09:07 -0700)
commite8f037a2df9b6f5936c7958dcc18a2b8d609f410
tree34940c21bf04460fc9a0871d75df8cc59109d84b
parent3a6ef0cdf31191309ec586b04034f6dcd2542bcc
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
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/perl/PostgreSQL/Test/Utils.pm
src/test/perl/PostgresNode.pm
src/test/perl/TestLib.pm