pgsql: Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.

From: ishii(at)postgresql(dot)org (Tatsuo Ishii)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.
Date: 2005-12-23 02:11:02
Message-ID: 20051223021102.AE52E9DC8D9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.
Also make the code more robust by searching for target encoding
in the internal charset map.

Problem reported by Sagi Bashari on 2005/12/21.
See "[BUGS] BUG #2120: Crash when doing UTF8<->ISO_8859_8 encoding conversion"
on pgsql-bugs list for more details.

Modified Files:
--------------
pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859:
utf8_and_iso8859.c (r1.16 -> r1.17)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/conversion_procs/utf8_and_iso8859/utf8_and_iso8859.c.diff?r1=1.16&r2=1.17)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Sven Klemm 2005-12-23 02:19:08 wikipedia - wikipgedia: additional check before eval
Previous Message Tom Lane 2005-12-23 01:16:38 pgsql: Add an officially exported libpq function to encrypt passwords,