Re: BUG #10255: CREATE COLLATION bug on 9.4

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: emanuel(dot)calvo(at)2ndquadrant(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #10255: CREATE COLLATION bug on 9.4
Date: 2014-05-07 16:52:10
Message-ID: 20140507165210.GH13397@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2014-05-07 12:43:46 -0400, Tom Lane wrote:
> emanuel(dot)calvo(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Leif Jensen 2014-05-07 17:16:56 Re: Server process crash - Segmentation fault
Previous Message Tom Lane 2014-05-07 16:43:46 Re: BUG #10255: CREATE COLLATION bug on 9.4