Re: [PATCH] Fix hashed ScalarArrayOp semantics for NULL LHS with non-strict comparators

Поиск
Список
Период
Сортировка
От cca5507
Тема Re: [PATCH] Fix hashed ScalarArrayOp semantics for NULL LHS with non-strict comparators
Дата
Msg-id tencent_75ACCC12DECD8182DD4AA84A617D2D48CA06@qq.com
обсуждение
Ответ на [PATCH] Fix hashed ScalarArrayOp semantics for NULL LHS with non-strict comparators  (Chengpeng Yan <chengpeng_yan@outlook.com>)
Список pgsql-hackers
Hi Chengpeng,

Thanks for your report. After reading the code, I find that there is still
an issue even if the LHS is not null and the comparator is strict (make
myinteq always return null, see the attached sql for details).

The main reason is that we did not consider whether the comparator's
return value is null during looking up the hash. Not sure whether this
is a big problem.

--
Regards,
ChangAo Chen

Вложения

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