]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:44 +0000 (09:07 -0700)
commit20911775de4ab7ac3ecc68bd714cb3ed0fd68b6a
treedf915f21e75ee5e717bf096de381e7f17eb15234
parent3238b5c330bc384441473dd2859845c27d9ade2f
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