Re: BUG #1344: Locale problem

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Jan Kralji " <jan@patware.si>
Cc: pgsql-bugs@postgresql.org
Date: 2004-12-07T15:25:51Z
Lists: pgsql-bugs
"PostgreSQL Bugs List" <pgsql-bugs@postgresql.org> writes:
> I cannot start postgres because unknow error. In log i can get this: 
> FATAL:  XX000: failed to initialize lc_messages to ""

Are you sure that your LC_MESSAGES setting is compatible with the active
LC_CTYPE setting?  I'm not certain about this, but I think that some
platforms may reject the setlocale call if LC_MESSAGES implies a
different encoding (eg, utf8 vs latin-n) than LC_CTYPE does.

			regards, tom lane