check for null value before looking up the hash function

Поиск
Список
Период
Сортировка
От Zhihong Yu
Тема check for null value before looking up the hash function
Дата
Msg-id CALNJ-vTN7miyUy4tYcBF6C1F9z-YhfecAGiBAO41062s4-S0zQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: check for null value before looking up the hash function
Список pgsql-hackers
Hi,
I was looking at the code in hash_record() of src/backend/utils/adt/rowtypes.c

It seems if nulls[i] is true, we don't need to look up the hash function.

Please take a look at the patch.

Thanks
Вложения

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