pgsql: Fix cross-version upgrade tests.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix cross-version upgrade tests.
Date: 2024-11-11 18:57:48
Message-ID: E1tAZbg-001LIv-5y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c4252c9ef0afea48a59402901c16fc970d838721

Modified Files
--------------
src/pl/plperl/expected/plperl_env.out | 2 ++
src/pl/plperl/sql/plperl_env.sql | 3 +++
2 files changed, 5 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-11-11 22:06:09 pgsql: Parallel workers use AuthenticatedUserId for connection privileg
Previous Message Noah Misch 2024-11-11 18:57:29 pgsql: src/tools/msvc: Respect REGRESS_OPTS in plcheck.