Re: BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Sagi Bashari" <sagi(at)adamnet(dot)co(dot)il>
Cc: pgsql-bugs(at)postgresql(dot)org, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Subject: Re: BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion
Date: 2005-12-21 23:58:50
Message-ID: 17284.1135209530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

"Sagi Bashari" <sagi(at)adamnet(dot)co(dot)il> writes:
> Postgresql crashes when a client with ISO_8859_8 encoding tries to select
> data from a utf8 database.

It looks like somebody rearranged the pg_enc enum without bothering to
fix the tables that are affected by this.

utf8_and_iso8859.c is certainly broken, and I'm wondering what else
might be. Tatsuo, can you think of any other places to look?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tatsuo Ishii 2005-12-22 00:34:51 Re: BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding
Previous Message Tom Lane 2005-12-21 23:44:50 Re: horology regression test failure

Browse pgsql-patches by date

  From Date Subject
Next Message Tatsuo Ishii 2005-12-22 00:34:51 Re: BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding
Previous Message Hannu Krosing 2005-12-21 23:12:19 Re: status of concurrent VACUUM patch ...