From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: ICU integration
Date: Wed, 12 Oct 2016 09:59:31 -0400
Message-ID: <b8f5427c-c009-524e-85d7-965f7362c62a@2ndquadrant.com> (raw)
In-Reply-To: <CAEepm=002fm_RiMY0ZjhDnUPOHhWXnk-GrqNAUk7bYQt2dacHA@mail.gmail.com>
References: <85364fde-091f-bbc0-fec2-e3ede39840a6@2ndquadrant.com>
<CAEepm=2QFfhs9OqSnFmDOKucCooj-5EBmPnF+nyGGxfsUkUnkg@mail.gmail.com>
<071e7c00-beba-480d-fa62-0fbcf3fa7360@2ndquadrant.com>
<CAEepm=002fm_RiMY0ZjhDnUPOHhWXnk-GrqNAUk7bYQt2dacHA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On 9/30/16 4:32 PM, Thomas Munro wrote:
>> Hmm, yeah, that will need more work. To be completely correct, I think,
>> > we'd also need to record the version in each expression node, so that
>> > check constraints of the form CHECK (x > 'abc') can be handled.
> Hmm. That is quite a rabbit hole. In theory you need to recheck such
> a constraint, but it's not at all clear when you should recheck and
> what you should do about it if it fails. Similar for the future
> PARTITION feature.
I think it's not worth dealing with this in that much detail at the
moment. It's not like the collation will just randomly change under you
(unlike with glibc). It would have to involve pg_upgrade, physical
replication, or a rebuilt installation. So I think I will change the
message to something to the effect of "however you got here, you can't
do that". We can develop some recipes and ideas on the side for how to
recover situations like that and then maybe integrate tooling for that
later.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-hackers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, thomas.munro@enterprisedb.com
Subject: Re: ICU integration
In-Reply-To: <b8f5427c-c009-524e-85d7-965f7362c62a@2ndquadrant.com>
References: <85364fde-091f-bbc0-fec2-e3ede39840a6@2ndquadrant.com> <CAEepm=2QFfhs9OqSnFmDOKucCooj-5EBmPnF+nyGGxfsUkUnkg@mail.gmail.com> <071e7c00-beba-480d-fa62-0fbcf3fa7360@2ndquadrant.com> <CAEepm=002fm_RiMY0ZjhDnUPOHhWXnk-GrqNAUk7bYQt2dacHA@mail.gmail.com> <b8f5427c-c009-524e-85d7-965f7362c62a@2ndquadrant.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