Re: File not found error on creating collation

From: Marti Raudsepp <marti(at)juffo(dot)org>
To: Thom Brown <thom(at)linux(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: File not found error on creating collation
Date: 2011-09-20 01:03:47
Message-ID: CABRT9RCE59Uk9pYdAN7qYvu9SshB_=tXVxvokRvtqxazePkkcQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 20, 2011 at 03:24, Thom Brown <thom(at)linux(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2011-09-20 01:56:01 Inlining comparators as a performance optimisation
Previous Message David Rinaldi 2011-09-20 00:57:46 Re: Grouping Sets