BUG #1344: Locale problem

PostgreSQL Bugs List <pgsql-bugs@postgresql.org>

From: "PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>
To: pgsql-bugs@postgresql.org
Date: 2004-12-07T10:20:22Z
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      1344
Logged by:          Jan Kralji

Email address:      jan@patware.si

PostgreSQL version: 7.4.6

Operating system:   Linux Debian

Description:        Locale problem

Details: 

I cannot start postgres because unknow error. In log i can get this: 
FATAL:  XX000: failed to initialize lc_messages to ""
LOCATION:  InitializeGUCOptions, guc.c:1867
------------------------------------------------
locale returns me this 
...
LC_MESSAGES="sl_SI"
...
-------------------------------------------------
By default i set locale to sl_SI.iso88592

What to do?