RE: [suggestion]support UNICODE host variables in ECPG - Mailing list pgsql-hackers

From Nagaura, Ryohei
Subject RE: [suggestion]support UNICODE host variables in ECPG
Date
Msg-id EDA4195584F5064680D8130B1CA91C453B6868@G01JPEXMBYT04
Whole thread Raw
In response to Re: [suggestion]support UNICODE host variables in ECPG  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On Fri, Dec 21, 2018 at 5:08 PM, Tom Lane wrote:
> I don't think I buy that argument; it falls down as soon as you consider
> characters above U+FFFF.  I worry that by supporting UTF16, we'd basically
> be encouraging users to write code that fails on such characters, which
> doesn't seem like good project policy.
Oh, I mistook.
Thank you for pointing out.

On Mon, Dec 24, 2018 at 5:07 PM, Matsumura Ryo wrote:
> I think that the first benefit of suggestion is providing a way to treat
> UTF16 chars for application. Whether or not to support above
> U+FFFF (e.g. surrogate pair) may be a next discussion.
Thank you for your comments.
Yes, I'd like to judge the necessity of this function before designing.

Best regards,
---------------------
Ryohei Nagaura





pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Minor comment fix for pg_config_manual.h
Next
From: Michael Paquier
Date:
Subject: Re: pg_dumpall --exclude-database option