[HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData

Поиск
Список
Период
Сортировка
От Jeevan Ladhe
Тема [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData
Дата
Msg-id CAOgcT0NZ_30-pjBpW2OgneV1ammArHkZDZ8B_KFC3q+_Xb2H9A@mail.gmail.com
обсуждение исходный текст
Ответы Re: [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Hi,

As discussed in default partition thread[1], here is the patch to remove
has_null from PartitionBoundInfoData structure.
Basically flag has_null is not needed and null_index can be checked if the
current bound is having a null value or not.

For simplicity of future use, in attached patch I have introduced a macro that
would return TRUE if the given bound has null.

PFA.


Regards,
Jeevan Ladhe
Вложения

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

Предыдущее
От: Dilip Kumar
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] statement_timeout is not working as expected with postgres_fdw