Re: Implementing full UTF-8 support (aka supporting 0x00)
| От | Álvaro Hernández Tortosa |
|---|---|
| Тема | Re: Implementing full UTF-8 support (aka supporting 0x00) |
| Дата | |
| Msg-id | ca3608a6-8fad-67de-d368-a52318aed3d7@8kdata.com обсуждение исходный текст |
| Ответ на | Re: Implementing full UTF-8 support (aka supporting 0x00) (Kevin Grittner <kgrittn@gmail.com>) |
| Ответы |
Re: Implementing full UTF-8 support (aka supporting 0x00)
|
| Список | pgsql-hackers |
On 03/08/16 17:47, Kevin Grittner wrote: > On Wed, Aug 3, 2016 at 9:54 AM, Álvaro Hernández Tortosa <aht@8kdata.com> wrote: > >> What would it take to support it? > Would it be of any value to support "Modified UTF-8"? > > https://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8 > That's nice, but I don't think so. The problem is that you cannot predict how people would send you data, like when importing from other databases. I guess it may work if Postgres would implement such UTF-8 variant and also the drivers, but that would still require an encoding conversion (i.e., parsing every string) to change the 0x00, which seems like a serious performance hit. It could be worse than nothing, though! Thanks, Álvaro -- Álvaro Hernández Tortosa ----------- 8Kdata
В списке pgsql-hackers по дате отправления: