Re: minor change for create_list_bounds()

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: minor change for create_list_bounds()
Дата
Msg-id 20220629234101.GA364747@nathanxps13
обсуждение исходный текст
Ответ на minor change for create_list_bounds()  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: minor change for create_list_bounds()  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Tue, Mar 08, 2022 at 11:05:10AM -0800, Zhihong Yu wrote:
> I was looking at commit db632fbca and noticed that,
> in create_list_bounds(), if index is added to boundinfo->interleaved_parts
> in the first if statement, there is no need to perform the second check
> involving call to partition_bound_accepts_nulls().

Given this change probably doesn't meaningfully impact performance or code
clarity, I'm personally -1 for this patch.  Is there another motivation
that I am missing?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: replacing role-level NOINHERIT with a grant-level option
Следующее
От: "Jonathan S. Katz"
Дата:
Сообщение: Re: PostgreSQL 15 beta 2 release announcement draft