Re: BUG #10255: CREATE COLLATION bug on 9.4 - Mailing list pgsql-bugs

From Andres Freund
Subject Re: BUG #10255: CREATE COLLATION bug on 9.4
Date
Msg-id 20140507165210.GH13397@awork2.anarazel.de
Whole thread Raw
In response to Re: BUG #10255: CREATE COLLATION bug on 9.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #10255: CREATE COLLATION bug on 9.4  (Emanuel Calvo <emanuel.calvo@2ndquadrant.com>)
List pgsql-bugs
On 2014-05-07 12:43:46 -0400, Tom Lane wrote:
> emanuel.calvo@2ndquadrant.com writes:
> > postgres=# CREATE COLLATION le_english (LC_COLLATE = "UTF8", LC_CTYPE =
> > "UTF8");
> > ERROR:  could not create locale "UTF8": Success
>
> I get this (on RHEL6):
>
> l1=# CREATE COLLATION le_english (LC_COLLATE = "UTF8", LC_CTYPE = "UTF8");
> ERROR:  could not create locale "UTF8": No such file or directory
> DETAIL:  The operating system could not find any locale data for the locale name "UTF8".

Independent of everything else the 'Success' on Emanuel's suggest that
errno might not be properly handled...

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #10255: CREATE COLLATION bug on 9.4
Next
From: Leif Jensen
Date:
Subject: Re: [GENERAL] Server process crash - Segmentation fault