Re: [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData

Поиск
Список
Период
Сортировка
От amul sul
Тема Re: [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData
Дата
Msg-id CAAJ_b94AkEzcx+12ySCnbMDX7=UdF4BjnoBGfMQbB0RNSTo3Ng@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] remove unnecessary flag has_null from PartitionBoundInfoData  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Список pgsql-hackers
On Wed, May 17, 2017 at 10:22 PM, Robert Haas <robertmhaas@gmail.com> wrote:
[...]
> I committed this with fixes for those issues, plus I renamed the macro
> to partition_bound_accepts_nulls, which I think is more clear.
>
partition_bound_accepts_nulls() will alway yield true for a range
partitioning case, because in RelationBuildPartitionDesc, we forgot to
set boundinfo->null_index to -1.

The attached patch fixes that.


Regards,
Amul

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Broken hint bits (freeze)
Следующее
От: Alexey Kondratov
Дата:
Сообщение: Re: [HACKERS] GSOC'17 project introduction: Parallel COPY executionwith errors handling