BUG #6246: character encoding for 64 bit

Поиск
Список
Период
Сортировка
От Bo
Тема BUG #6246: character encoding for 64 bit
Дата
Msg-id 201110100820.p9A8KWOu064380@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #6246: character encoding for 64 bit  (Craig Ringer <ringerc@ringerc.id.au>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      6246
Logged by:          Bo
Email address:      bo@budget123.dk
PostgreSQL version: 9.1
Operating system:   Windows server 2008
Description:        character encoding for 64 bit
Details:

I have just installed postgresql-9.1.1 on a windows server 2008 64 (from
binary postgresql-9.1.1-1-windows-x64)
One database is in latin1 encoding and when connecting to it with psql i get
an error:
(two examples, one working and one not. postgres db is in utf8)
**********************************
D:\>d:\PostgreSQL\9.1\bin\psql.exe -d postgres -U postgres -c "comment on
database demo_ is 'test'"
Password for user postgres:
COMMENT

D:\>d:\PostgreSQL\9.1\bin\psql.exe -d demo_ -U postgres -c "comment on
database demo_ is 'test'"
Password for user postgres:
psql: FATAL:  conversion between WIN1252 and LATIN1 is not supported
*****************************
No matter what codepage the console is set to (with chcp). Default was 850,
i have tried 1252, 28591 and 65001.

I have the exact same setup on a windows xp 32 bit without this issue. So im
guessing it has to do with the 64 bit version of psql..

Thanks for any light you can shed on this.
In any case i hope you can use this report.

Regards Bo TJ

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

Предыдущее
От: "Heimo Stieg"
Дата:
Сообщение: BUG #6247: Freeswitch will crash after 2-3 days within odbc connection
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6247: Freeswitch will crash after 2-3 days within odbc connection