Re: initdb --encoding=LATIN1 fails on Windows

Поиск
Список
Период
Сортировка
От Jan-Peter Seifert
Тема Re: initdb --encoding=LATIN1 fails on Windows
Дата
Msg-id 4A5F889F.70805@gmx.de
обсуждение исходный текст
Ответ на initdb --encoding=LATIN1 fails on Windows  ("Abraham, Danny" <danny_abraham@bmc.com>)
Список pgsql-admin
Abraham, Danny wrote:

> The same command worked fine on PG 8.2.4.
> Now, using 8.3.7,  we are forced into WIN1252.

In 8.2 on Windows code page 28591 has been used. If you use this as
locale initdb should give you LATIN1.

Something like this should work for you as well:
initdb --locale=German_Germany.28591 -W -A md5 -D
"C:\Programme\PostgreSQL\8.3\data"

Good luck,

Peter

В списке pgsql-admin по дате отправления: