Обсуждение: initdb failed: invalid value for parameter "lc_messages": "1033"

Поиск
Список
Период
Сортировка

initdb failed: invalid value for parameter "lc_messages": "1033"

От
Ann Saust Rossi
Дата:
<br /> Hi,<br /><br /> I saw the previous posts on this subject, and the reason for the problem:<br /><br /><pre>Cygwin
PostgreSQLonly supports the "C" locale because
 
Cygwin itself does not fully support locales.

</pre>But can somebody tell me how to fix this, i.e. change the locale to "C"?<br /><br /> Thanks, Ann Rossi.<br />
saust@acrx.com

Re: initdb failed: invalid value for parameter "lc_messages": "1033"

От
Jason Tishler
Дата:
Ann,

On Thu, Jul 29, 2004 at 02:39:21PM -0400, Ann Saust Rossi wrote:
> But can somebody tell me how to fix this, i.e. change the locale to
> "C"?

The current README indicates the following:

    2. Cygwin PostgreSQL only supports the "C" locale because Cygwin
    itself does not fully support locales.  This implies the LANG
    environment variable must be unset or set to "C".  Otherwise, initdb
    will fail.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6