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