For PostgreSQL::Test compatibility, alias entire package symbol tables.
authorNoah Misch <[email protected]>
Sat, 25 Jun 2022 16:07:44 +0000 (09:07 -0700)
committerNoah Misch <[email protected]>
Sat, 25 Jun 2022 16:07:45 +0000 (09:07 -0700)
commitc41edb324294ea352bbe94b1bc0a43a7608c737d
treea4d477745b644c2f66368eff00befd983ebe888f
parented2a7a6bf67d1b34e113b1b88855c85b6a39377d
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[email protected]
src/test/perl/PostgreSQL/Test/Cluster.pm
src/test/perl/PostgreSQL/Test/Utils.pm
src/test/perl/PostgresNode.pm
src/test/perl/TestLib.pm