Re: [HACKERS] pg9.4b1: unhelpful error message when creating a collation

2014-05-28 Thread Fabien COELHO
Searching for that error turned up: https://sourceware.org/bugzilla/show_bug.cgi?id=14247 https://bugzilla.redhat.com/show_bug.cgi?id=827510 Indeed. Thanks for the pointer. I have reported the issue on launchpad (ubuntu bug tracking site) with a link to the redhat bug and Tom's test program

[HACKERS] pg9.4b1: unhelpful error message when creating a collation

2014-05-25 Thread Fabien COELHO
sh lsb_release -d Description: Ubuntu 14.04 LTS Codename: trusty sh uname -a Linux sto 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux sh locale -a C C.UTF-8 en_AG en_AG.utf8 en_AU.utf8 en_BW.utf8 en_CA.utf8 en_DK.utf8

Re: [HACKERS] pg9.4b1: unhelpful error message when creating a collation

2014-05-25 Thread Andres Freund
Hi, On 2014-05-25 09:17:24 +0200, Fabien COELHO wrote: sql CREATE COLLATION french (locale='fr_FR.utf8'); ERROR: could not create locale fr_FR.utf8: Success The collation creation fails, not sure why yet. However, the error .. success message is especially unhelpful. This seems to be

Re: [HACKERS] pg9.4b1: unhelpful error message when creating a collation

2014-05-25 Thread Tom Lane
Andres Freund and...@2ndquadrant.com writes: On 2014-05-25 09:17:24 +0200, Fabien COELHO wrote: sql CREATE COLLATION french (locale='fr_FR.utf8'); ERROR: could not create locale fr_FR.utf8: Success This seems to be a glibc bug. If a nonexistant locale has already been asked for errno is set