pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix cross-version upgrade tests.
Date: Mon, 11 Nov 2024 18:57:48 +0000
Message-ID: <E1tAZbg-001LJ9-8s@gemulon.postgresql.org> (raw)

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9fc1c3a02ddc4cf2a34550c0f985288cea7094bd

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(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1tAZbg-001LJ9-8s@gemulon.postgresql.org>
Permalink:  ../E1tAZbg-001LJ9-8s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tAZbg-001LJ9-8s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix cross-version upgrade tests.
  In-Reply-To: <E1tAZbg-001LJ9-8s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox