Обсуждение: initdb fails

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

initdb fails

От
"Alex Vasilyonok"
Дата:
> initdb -d -D /usr/local/pgsql/data  -E SQL_ASCII
 
..........................................
creating template1 database in  /usr/local/pgsql/data/base/1...FATAL: invalid value for parameter "lc_messages": "EN"
 
Windows98, Second Edition 4.10.2222A
 
CYGWIN_98-4.10
postgres (PostgreSQL) 7.4.1

Re: initdb fails

От
Jason Tishler
Дата:
Alex,

On Wed, Mar 10, 2004 at 06:20:38PM -0500, Alex Vasilyonok wrote:
> > initdb -d -D /usr/local/pgsql/data  -E SQL_ASCII
>
> ..........................................
> creating template1 database in  /usr/local/pgsql/data/base/1...FATAL:
> invalid value for parameter "lc_messages": "EN"

Did you read the README?

    http://www.tishler.net/jason/software/postgresql/postgresql-7.4.1.README

Specifically, the following:

    3. Cygwin PostgreSQL only supports the "C" locale because Cygwin
    itself does not fully support locales.

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

Re: initdb fails

От
Jason Tishler
Дата:
Alex,

Please keep your replies on-list.

On Wed, Mar 17, 2004 at 12:32:07AM -0500, Alex Vasilyonok wrote:
> Did according to Readme, basic installation for Windows-98,
>
> ipc-daemon2 &
> initdb -D /var/postgresql/data
>
> It tells me that,
> "The database cluster will be initialized with locale EN"
>
> and then,
>
> creating template1 database in /var/postgresql/data/base/1 ...FATAL:
> invalid value for parametr "lc_messages": "EN" initdb: failed

Do you Google?

    http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=cygwin+postgresql+lc_messages+invalid&btnG=Google+Search

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