I wrote:
> Magnus Hagander writes:
>> On Thu, May 31, 2012 at 8:16 PM, Tom Lane wrote:
>>> What platform?
>> Ubuntu 12.04.
> FWIW, I get the same on Fedora 16.
This seems to be a glibc bug: it won't set errno correctly
if you've already asked about the same wrong locale name. Filed at
https:/
Magnus Hagander writes:
> On Thu, May 31, 2012 at 8:16 PM, Tom Lane wrote:
>> What platform?
> Ubuntu 12.04.
FWIW, I get the same on Fedora 16. It works if I say
locale='nb_NO.utf8' to prevent case-folding, so apparently case of the
locale name has something to do with it ...
On Thu, May 31, 2012 at 8:16 PM, Tom Lane wrote:
> Magnus Hagander writes:
>> template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8);
>> ERROR: could not create locale "nb_no.utf8": Success
>
> What platform?
D'uh, sorry.
Ubuntu 12.04.
--
Magnus Hagander
Me: http://www.hagander.net
Magnus Hagander writes:
> template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8);
> ERROR: could not create locale "nb_no.utf8": Success
What platform?
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to you
Strangeness:
template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8);
ERROR: could not create locale "nb_no.utf8": Success
Clearly it's not successful...
On some runs, I get:
template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8);
ERROR: could not create locale "nb_no.utf8": No s