public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: Pgsql-admin <[email protected]>
Subject: "a REINDEX operation on an index pg_upgrade'd from a previous release could potentially fail."
Date: Sun, 15 Dec 2024 02:39:05 -0500
Message-ID: <CANzqJaCk3sN+i9fs=-e_GZtn-wM=+oZU1bb4rpt0KZb31uha=Q@mail.gmail.com> (raw)

According to https://www.postgresql.org/docs/release/12.0/
"
In new btree indexes, the maximum index entry length is reduced by eight
bytes, to improve handling of duplicate entries (Peter Geoghegan) ยง

This means that a REINDEX operation on an index pg_upgrade'd from a
previous release could potentially fail.
"

Would a REINDEX CONCURRENTLY mitigate that risk, since
https://www.postgresql.org/docs/14/sql-reindex.html#SQL-REINDEX-CONCURRENTLY
says "6. The old indexes are dropped"?

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: "a REINDEX operation on an index pg_upgrade'd from a previous release could potentially fail."
  In-Reply-To: <CANzqJaCk3sN+i9fs=-e_GZtn-wM=+oZU1bb4rpt0KZb31uha=Q@mail.gmail.com>

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

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