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: Don't attempt to upgrade bpchar indexes from versions before 14.
Date: Wed, 07 Oct 2026 01:17:09 +0000
Message-ID: <E1xEGHN-00000000cfl-0CKK@gemulon.postgresql.org> (raw)

Don't attempt to upgrade bpchar indexes from versions before 14.

As of a32b8dc98 and friends, amcheck will complain about bpchar
indexes that claim to allow de-duplication.  This causes our
cross-version-upgrade tests to fail when upgrading from a version
that lacks those commits, since there are some such indexes in the
core regression tests.  Drop such indexes from the upgrade source
database.  (oidvector indexes would be problematic too, but
there aren't any user-defined indexes on oidvector in our tests.)

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CAH2-Wzk-oO3HjLaByo8Vpse6Tpha1mqAW8DFShh-kS-Wo59ugA@mail.gmail.com
Backpatch-through: 14

Branch
------
REL_15_STABLE

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

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



view thread (7+ messages)  latest in thread

Message-ID: <E1xEGHN-00000000cfl-0CKK@gemulon.postgresql.org>
Permalink:  ../E1xEGHN-00000000cfl-0CKK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xEGHN-00000000cfl-0CKK@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Don't attempt to upgrade bpchar indexes from versions before 14.
  In-Reply-To: <E1xEGHN-00000000cfl-0CKK@gemulon.postgresql.org>
  References: <E1xEGHN-00000000cfl-0CKK@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