pgsql: Fix cross-version upgrade tests. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix cross-version upgrade tests.
Date
Msg-id E1tAZbg-001LJ7-8K@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0bd9560d964abc09e446e4c5e264bb7a0886e5ea

Modified Files
--------------
src/pl/plperl/GNUmakefile              | 1 +
src/pl/plperl/input/plperl_env.source  | 3 +++
src/pl/plperl/output/plperl_env.source | 2 ++
3 files changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: src/tools/msvc: Respect REGRESS_OPTS in plcheck.
Next
From: Tom Lane
Date:
Subject: pgsql: Parallel workers use AuthenticatedUserId for connection privileg