Re: Bug? was: Re: ERROR: could not convert UTF8 character to ISO8859-1 - Mailing list pgsql-general

From Tom Lane
Subject Re: Bug? was: Re: ERROR: could not convert UTF8 character to ISO8859-1
Date
Msg-id 14636.1143473890@sss.pgh.pa.us
Whole thread Raw
In response to Bug? was: Re: ERROR: could not convert UTF8 character to ISO8859-1  (JP Glutting <jpglutting@oqua.udl.es>)
Responses Re: Bug? was: Re: ERROR: could not convert UTF8 character  (JP Glutting <jpglutting@oqua.udl.es>)
List pgsql-general
JP Glutting <jpglutting@oqua.udl.es> writes:
> This is reproducible, and I think it is a bug, because I have the
> problem not only with data backed up from Postgres 8.0 and restored to
> Postgres 8.1, but with data generated in Postgres 8.1. It is
> reproducible, at least on Windows XP. Here is a table that I backed up
> from Postgres 8.0. It can be restored into a Postgres 8.0 or 8.1
> database, but it cannot then be backed up in Postgres 8.1.

The error message seems perfectly clear to me: you've got a character in
that table that has no representation in LATIN1.  The difference between
8.0 and 8.1 behavior is probably because you're somehow using different
client_encoding settings in the two cases.

            regards, tom lane

pgsql-general by date:

Previous
From: "Ardian Xharra (Boxxo)"
Date:
Subject: Creating serial ID on Windows.
Next
From: Scott Marlowe
Date:
Subject: Re: Advantages of PostgreSQL over MySQL 5.0