Re: Cannot create collation? - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Cannot create collation?
Date
Msg-id 1299269786.27815.4.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Cannot create collation?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-bugs
On ons, 2011-03-02 at 21:59 +0200, Peter Eisentraut wrote:
> On ons, 2011-03-02 at 18:00 +0200, Heikki Linnakangas wrote:
> > Hmm, regardless of what's causing this, I wonder if we should check
> > that the locale works at CREATE COLLATION time, rather than fail when
> > you try to use it. Ie. add a call to pg_newlocale_from_collation() at
> > the end of DefineCollation().
>
> Yeah, I was apparently hoping that check_encoding_locale_matches() would
> catch invalid locales, but it doesn't, so we should put in an explicit
> check.

Fixed.

pgsql-bugs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: BUG #5915: OldSerXidAdd inflates pg_serial too much
Next
From: Heikki Linnakangas
Date:
Subject: Re: BUG #5915: OldSerXidAdd inflates pg_serial too much