Re: locale error - Mailing list pgsql-novice

From Tom Lane
Subject Re: locale error
Date
Msg-id 1688.1045036287@sss.pgh.pa.us
Whole thread Raw
In response to locale error  (César Eduardo Schneider<cesschneider@yahoo.com.br>)
List pgsql-novice
=?iso-8859-1?q?C=E9sar=20Eduardo=20Schneider?= <cesschneider@yahoo.com.br> writes:
>  I get the follow error:
> postgres@server:/usr/local/pgsql/bin$ ./postmaster -D /home/pgsql.old/
> FATAL:  invalid value for option 'LC_MESSAGES': 'pt_BR'
> my env vars are:
> postgres@server:/usr/local/pgsql/bin$ env | grep LC
> LC_MESSAGES=3Dpt_BR
> LC_ALL=3Dpt_BR
> LC_CTYPE=3Dpt_BR

> When running initdb to create a new database, all id ok.

This is very very strange.  The postmaster error says that your locale
library will not take pt_BR as a valid value for LC_MESSAGES.  But if
you are able to initdb with that same setting then it would seem that
pt_BR *is* a valid setting for LC_MESSAGES.  Are you sure that the
installed $PGINSTDIR/share/postgresql.conf.sample (which is what initdb
will use) also has lc_messages set to pt_BR?

            regards, tom lane

pgsql-novice by date:

Previous
From: César Eduardo Schneider
Date:
Subject: locale error
Next
From: "Ville Jungman"
Date:
Subject: How can i combine two columns