Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Дата
Msg-id 1046C47572F54F1BA5A726A49BAC6F3C@dell2
обсуждение исходный текст
Ответ на Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: could not determine encoding for locale "et_EE.UTF-8": codeset is"CPUTF-8" in pg_restore
Список pgsql-general
Hi!

>Generally speaking, locale names from Unix systems won't work at all on
>Windows.  You need to create the database manually with whatever seems
>to be the closest Windows locale match, and then restore its contents
>without using --create.

This is unattended script running in every night from .bat file.

How to replace pg_restore --create  option with   psql and/or createdb calls
and specify proper locale for them ?

Currently everthing has "Estonian_Estonia.1257"  locale in windows.
Which locale name should be specified in Windows instead of this?
Or maybe creating new template with proper encoding or changing template0 
encoding helps?

Andrus. 




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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: could not determine encoding for locale "et_EE.UTF-8": codeset is "CPUTF-8" in pg_restore
Следующее
От: "Andrus"
Дата:
Сообщение: Hot standby from Debian to Windows