Re: Q: fixing collation version mismatches - Mailing list pgsql-general

From Daniel Verite
Subject Re: Q: fixing collation version mismatches
Date
Msg-id 206a0d6b-d91d-4fc9-a467-2bcf426fed06@manitou-mail.org
Whole thread Raw
In response to Re: Q: fixing collation version mismatches  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: Q: fixing collation version mismatches
List pgsql-general
    Karsten Hilbert wrote:

> Which is why my question still stands: does the above
> three-strikes operation safely take care of any collation
> issues that may currently exist in a database ?

For the indexes, yes, but theorically, all constraints involving collatable
types need a recheck.

For foreign key constraints with non-deterministic collations, there
might be equality tests that pass with an older Unicode version and fail
with a newer Unicode version.

For check constraints as well, checks applied to strings with recent
Unicode characters can give different results after an upgrade.


Best regards,
--
Daniel Vérité
https://postgresql.verite.pro/
Twitter: @DanielVerite



pgsql-general by date:

Previous
From: Upesh Desai
Date:
Subject: Phantom Permissions Error
Next
From: Karsten Hilbert
Date:
Subject: Re: Q: fixing collation version mismatches