Re: proposal: change behavior on collation version mismatch

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Jeremy Schneider" <schnjere(at)amazon(dot)com>
Cc: "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: proposal: change behavior on collation version mismatch
Date: 2023-11-28 10:12:52
Message-ID: 74bea897-37c0-4cb0-bbc1-e5a1ef6b495f@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Borisov 2023-11-28 10:14:51 Re: XID formatting and SLRU refactorings
Previous Message Hayato Kuroda (Fujitsu) 2023-11-28 10:04:38 RE: [PoC] pg_upgrade: allow to upgrade publisher node