Fix cross-version upgrade tests.
authorTom Lane <[email protected]>
Mon, 11 Nov 2024 18:57:21 +0000 (13:57 -0500)
committerTom Lane <[email protected]>
Mon, 11 Nov 2024 18:57:41 +0000 (13:57 -0500)
commit9fc1c3a02ddc4cf2a34550c0f985288cea7094bd
treec4d319418e8c7da9dc8289498d8253902faf189a
parent1e457468f0bf6c95b72be9af52f68787c8e83ba6
Fix cross-version upgrade tests.

TestUpgradeXversion knows how to make the main regression database's
references to pg_regress.so be version-independent.  But it doesn't
do that for plperl's database, so that the C function added by
commit b7e3a52a8 is causing cross-version upgrade test failures.
Path of least resistance is to just drop the function at the end
of the new test.

In <= v14, also take the opportunity to clean up the generated
test files.

Security: CVE-2024-10979
src/pl/plperl/GNUmakefile
src/pl/plperl/input/plperl_env.source
src/pl/plperl/output/plperl_env.source