Re: proposal: change behavior on collation version mismatch - Mailing list pgsql-hackers

From Daniel Verite
Subject Re: proposal: change behavior on collation version mismatch
Date
Msg-id 74bea897-37c0-4cb0-bbc1-e5a1ef6b495f@manitou-mail.org
Whole thread Raw
In response to proposal: change behavior on collation version mismatch  (Jeremy Schneider <schnjere@amazon.com>)
Responses Re: proposal: change behavior on collation version mismatch  (Jeremy Schneider <schnjere@amazon.com>)
List pgsql-hackers
    Jeremy Schneider wrote:

> 1) "collation changes are uncommon" (which is relatively correct)
> 2) "most users would rather have ease-of-use than 100% safety, since
> it's uncommon"
>
> And I think this led to the current behavior of issuing a warning rather
> than an error,

There's a technical reason for this being a warning.
If it was an error, any attempt to do anything with the collation
would fail, which includes REINDEX on indexes  using
that collation.
And yet that's precisely what you're supposed to do in that
situation.


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



pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: Pavel Borisov
Date:
Subject: Re: XID formatting and SLRU refactorings