Re: Is MinMaxExpr really leakproof?

Поиск
Список
Период
Сортировка
От Isaac Morland
Тема Re: Is MinMaxExpr really leakproof?
Дата
Msg-id CAMsGm5cZC_5=Ub5GWtCGJEB5t1gtq1cjkFyn-W_pK0cDbubpiw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is MinMaxExpr really leakproof?  (Noah Misch <noah@leadboat.com>)
Ответы Re: Is MinMaxExpr really leakproof?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 31 Dec 2018 at 12:26, Noah Misch <noah@leadboat.com> wrote:

bttextcmp() and other varstr_cmp() callers fall afoul of the same restriction
with their "could not convert string to UTF-16" errors
(https://postgr.es/m/CADyhKSXPwrUv%2B9LtqPAQ_gyZTv4hYbr2KwqBxcs6a3Vee1jBLQ%40mail.gmail.com).
Leaking the binary fact that an unspecified string contains an unspecified rare
Unicode character is not a serious leak, however.  Also, those errors would be a
substantial usability impediment if they happened much in practice; you couldn't
index affected values.


I'm confused. What characters cannot be represented in UTF-16?

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [HACKERS] proposal: schema variables
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Is MinMaxExpr really leakproof?