Re: Errors in our encoding conversion tables - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Errors in our encoding conversion tables
Date
Msg-id 17226.1448640096@sss.pgh.pa.us
Whole thread Raw
In response to Re: Errors in our encoding conversion tables  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List pgsql-hackers
Albe Laurenz <laurenz.albe@wien.gv.at> writes:
> I agree with your proposed fix, the only thing that makes me feel uncomfortable
> is that you get error messages like:
>   ERROR:  character with byte sequence 0x96 in encoding "WIN1250" has no equivalent in encoding "MULE_INTERNAL"

Hm, yeah.  It's pretty silly that this code uses a double conversion when
it has a table that would work fine for a direct conversion, anyway.  But
I think improving that is a separate question, especially since the above
behavior occurred already for a few code points.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dmitry Ivanov
Date:
Subject: [PROPOSAL] Backup and recovery of pg_statistic
Next
From: Teodor Sigaev
Date:
Subject: Re: COPY (INSERT/UPDATE/DELETE .. RETURNING ..)