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

From ishii@postgresql.org (Tatsuo Ishii)
Subject pgsql: Fix for rearranging encoding id ISO-8859-5 to ISO-8859-8.
Date
Msg-id 20051223021102.AE52E9DC8D9@postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix for rearranging encoding id ISO-8859-5
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Add an officially exported libpq function to encrypt passwords,
Next
From: sven@pgfoundry.org (Sven Klemm)
Date:
Subject: wikipedia - wikipgedia: additional check before eval