Re: UTF8 national character data type support WIP patch and list of open issues. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: UTF8 national character data type support WIP patch and list of open issues.
Date
Msg-id 934.1384398365@sss.pgh.pa.us
Whole thread Raw
In response to Re: UTF8 national character data type support WIP patch and list of open issues.  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-hackers
Tatsuo Ishii <ishii@postgresql.org> writes:
> BTW, same characters are assigned different code points are pretty
> common in many character sets (Unicode, for example).

This is widely considered a security bug; read section 10 in RFC 3629 (the
definition of UTF8), and search the CVE database a bit if you still doubt
it's a threat.  I'm going to push back very hard on any suggestion that
Postgres should build itself around a text representation with that kind
of weakness designed in.
        regards, tom lane

[1] http://tools.ietf.org/html/rfc3629#section-10



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: commit fest 2013-11 starts this Friday
Next
From: Peter Geoghegan
Date:
Subject: Re: [PATCH] Report exit code from external recovery commands properly