RE: [suggestion]support UNICODE host variables in ECPG
От
Matsumura, Ryo
Тема
RE: [suggestion]support UNICODE host variables in ECPG
Дата
Msg-id
03040DFF97E6E54E88D3BFEE5F5480F737A80E2F@G01JPEXMBYT04
Ответ на
Список
Дерево обсуждения
[suggestion]support UNICODE host variables in ECPG "Nagaura, Ryohei" <nagaura.ryohei@jp.fujitsu.com>
RE: [suggestion]support UNICODE host variables in ECPG "Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>
RE: [suggestion]support UNICODE host variables in ECPG "Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>
RE: [suggestion]support UNICODE host variables in ECPG "Nagaura, Ryohei" <nagaura.ryohei@jp.fujitsu.com>
Re: [suggestion]support UNICODE host variables in ECPG Tom Lane <tgl@sss.pgh.pa.us>
RE: [suggestion]support UNICODE host variables in ECPG "Matsumura, Ryo" <matsumura.ryo@jp.fujitsu.com>
RE: [suggestion]support UNICODE host variables in ECPG "Nagaura, Ryohei" <nagaura.ryohei@jp.fujitsu.com>
> * What's the benefit of supporting UTF16 in host variables? 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. For that purpose, implementation for the suggestion may be easier than for supporting UTF16 at client_encoding. Uvarchar seems to be a label indicating that stored data is encoded by UTF16. It localizes the impacts within only labeled host variable. # At least, ecpglib is not good at treating 0x00 as a part of one character. Regards Ryo Matsumura
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата: