> This is only true for server encodings. In a client library I think
> you lose on this and do have to deal with it. I'm not sure what client
> encodings we do support that aren't ascii-supersets though, it's
> possible none of them generate quote characters this way.

We have a clear definition what encodings are for client
only(mb/pg_wchar.h):

        /* followings are for client encoding only */
        PG_SJIS,                                        /* Shift JIS 
(Winindows-932) */
        PG_BIG5,                                        /* Big5 (Windows-950) */
        PG_GBK,                                         /* GBK (Windows-936) */
        PG_UHC,                                         /* UHC (Windows-949) */
        PG_GB18030,                                     /* GB18030 */
        PG_JOHAB,                                       /* EUC for Korean JOHAB 
*/
        PG_SHIFT_JIS_2004,                      /* Shift-JIS-2004 */
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to