Re: File not found error on creating collation - Mailing list pgsql-hackers

From Marti Raudsepp
Subject Re: File not found error on creating collation
Date
Msg-id CABRT9RCE59Uk9pYdAN7qYvu9SshB_=tXVxvokRvtqxazePkkcQ@mail.gmail.com
Whole thread Raw
In response to File not found error on creating collation  (Thom Brown <thom@linux.com>)
Responses Re: File not found error on creating collation
List pgsql-hackers
On Tue, Sep 20, 2011 at 03:24, Thom Brown <thom@linux.com> wrote:
> ERROR:  could not create locale "sr_SB.utf8": No such file or directory
>
> It's correct in that it shouldn't be able to create the locale since
> it's not installed, but what file can't it find?  What is the user
> supposed to do with this message?

Unfortunately locales are OS-specific so there's not much universal
advice that Postgres could give. However, I guess it does make sense
addressing this in documentation.

On Linux you'd need to edit the /etc/locale.gen file and then run
'locale-gen' as root.

Regards,
Marti


pgsql-hackers by date:

Previous
From: "Clark C. Evans"
Date:
Subject: Re: Is there really no interest in SQL Standard?
Next
From: "David Rinaldi"
Date:
Subject: Re: Grouping Sets