From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Q: documentation improvement re collation version mismatch
Date: Thu, 10 Nov 2022 08:39:03 -0600
Message-ID: <3515c6ba-0487-1ead-ef3d-84541767f370@gmail.com> (raw)
In-Reply-To: <20221110143329.nkwdoue3yrspnbj6@jrouhaud>
References: <Y2uSzfhPLfTMLHhq@hermes.hilbert.loc>
<20221110083322.cqztec3ruvadzfpi@jrouhaud>
<e753b61c-500e-6061-6d58-1ec4da4d70fe@gmail.com>
<20221110143329.nkwdoue3yrspnbj6@jrouhaud>
On 11/10/22 08:33, Julien Rouhaud wrote:
> On Thu, Nov 10, 2022 at 08:04:37AM -0600, Ron wrote:
>> On 11/10/22 02:33, Julien Rouhaud wrote:
>> [snip]
>>> For now, the only safe way to go is either reindex everything, or everything
>>> except some safe cases (non-partial indexes on plain-non-collatable datatypes
>>> only). Usually, those safe cases are usually enough to avoid most of useless
>>> reindex activity.
>> In this situation, I queried for all indices with text-type columns
>> (including UUID) and reindexed them.
> That may work in your personal use case, but it's not generally safe. I hope
> you don't have partial indexes,
Aren't partial indices listed in pg_indexes?
> expressions or functions that internally relied
> on collatable datatypes,
No such indices.
> or indexes on other plain collatable datatypes.
What other data types besides the text types are collatable?
--
Angular momentum makes the world go 'round.
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-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Q: documentation improvement re collation version mismatch
In-Reply-To: <3515c6ba-0487-1ead-ef3d-84541767f370@gmail.com>
References: <Y2uSzfhPLfTMLHhq@hermes.hilbert.loc> <20221110083322.cqztec3ruvadzfpi@jrouhaud> <e753b61c-500e-6061-6d58-1ec4da4d70fe@gmail.com> <20221110143329.nkwdoue3yrspnbj6@jrouhaud> <3515c6ba-0487-1ead-ef3d-84541767f370@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox