pgsql: AdjustUpgrade.pm should zap test_ext_cine, too.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: AdjustUpgrade.pm should zap test_ext_cine, too.
Date: 2023-01-17 21:01:55
Message-ID: E1pHt5f-004BWl-1v@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

AdjustUpgrade.pm should zap test_ext_cine, too.

test_extensions' test_ext_cine extension has the same upgrade hazard
as test_ext7: the regression test leaves it in an updated state
from which no downgrade path to default is provided. This causes
the update_extensions.sql script helpfully provided by pg_upgrade
to fail. So drop it in cross-version-upgrade testing.

Not entirely sure how come I didn't hit this in testing yesterday;
possibly I'd built the upgrade reference databases with
testmodules-install-check disabled.

Backpatch to v10 where this module was introduced.

Branch
------
REL_11_STABLE

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

Modified Files
--------------
src/test/perl/PostgreSQL/Test/AdjustUpgrade.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-01-17 21:49:47 pgsql: meson: Add two missing regress tests
Previous Message Peter Eisentraut 2023-01-17 19:14:29 pgsql: Refactor recordExtObjInitPriv()