BUG #1652: pg_restore failed - Mailing list pgsql-bugs

From Villiam Manera
Subject BUG #1652: pg_restore failed
Date
Msg-id 20050506164620.2F999F0B03@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged online:

Bug reference:      1652
Logged by:          Villiam Manera
Email address:      vmanera@manord.com
PostgreSQL version: 8.01
Operating system:   linux
Description:        pg_restore failed
Details:

from pgAdminIII i've created a backup
and then I've try to restore it but:

pg_restore: ERROR:  value too long for type character(40)
CONTEXT:  COPY conti, line 24410, column descr_1: "2) crediti immobilizzati
verso societÃ? d"

in the descr_1 column instead of ... verso società d..


This is due at un initially wrong encoding, but anyway now this character is
inside the database.. and pg_restore count 41 instead of 40 character.

I'm novice in postgres, perhaps there is some way to work around it? or is a
bug?

pgsql-bugs by date:

Previous
From: "Peter van der Meer"
Date:
Subject: BUG #1651: static date field is not recognized automatically when group by is used
Next
From: "Guilherme"
Date:
Subject: BUG #1653: Bug in date