On 07/08/2015 01:04 AM, Thierry Hauchard wrote:
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.
Except below you say only for majority of 64bit machines, so are the problems when they occur the same as you are seeing on the 32bit machines?
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
So what is the database encoding in the 8.4 instances?
Using our application, using win_1252 client_encoding, get similar error if we try to update record with a "\" in any string :
So what happens if you use psql and do: \encoding win_1252 and then run the query below?
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)
Make me think you had database in an encoding other then UTF8 previously.
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
-- Adrian Klaver adrian.klaver@xxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general