PG 9.4.4 issue on French Windows 32 bits

Поиск
Список
Период
Сортировка
От Thierry Hauchard
Тема PG 9.4.4 issue on French Windows 32 bits
Дата
Msg-id 559CD972.6030800@gesteam.fr
обсуждение исходный текст
Ответы Re: PG 9.4.4 issue on French Windows 32 bits  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hy,

We can't upgrade our customers from 8.4 to 9.4.4 if they have a 32 bits
server machine (Windows 2008, 2007...).
There is no problem with PG 64 bits.

When restoring from backup (created from 8.4 database with PG_Dump
9.4.4), the log shows errors about UTF like :
2015-07-07 17:03:35 CEST ERREUR:  séquence d'octets invalide pour
l'encodage « UTF8 » : 0xf4 0x6c 0x65 0x20

Using our application, using win_1252 client_encoding,  get similar
error if we try to update record with a "\" in any string :

UPDATE test_table SET str_field = '\\' WHERE id = 75160909
-> ERROR:  invalid byte sequence for encoding "UTF8": 0xee 0x6e 0x65

The same query work from PG_Admin (UTF8 encoding)

Our technicien install PG cluster exactly the same way.
We have tried on 3 differents 32 bits machine, same issue
No issue on 64bits machine (majority of our customers). All works perfectly.
We have never had any problem with PG 8.4 for long years

Is there a way to turn-over ?
Or need to wait upgrade ?

Thanks,
Thierry Hauchard
Gesteam


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

Предыдущее
От: "Chas. Munat"
Дата:
Сообщение: 9.4 on Ubuntu 15.04: ENETUNREACH error?
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: [pg_hba.conf] publish own Python application using PostgreSQL