Re: Correctly producing array literals for prepared statements

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: gsstark(at)mit(dot)edu
Cc: peter(dot)geoghegan86(at)gmail(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Correctly producing array literals for prepared statements
Date: 2011-02-23 06:39:52
Message-ID: 20110223.153952.487737677268428512.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message PostgreSQL - Hans-Jürgen Schönig 2011-02-23 08:02:28 Re: WIP: cross column correlation ...
Previous Message Nathan Boley 2011-02-23 05:50:50 Re: WIP: cross column correlation ...