Re: PG11 - Multiple Key Range Partition

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: PG11 - Multiple Key Range Partition
Дата
Msg-id CAKJS1f-nSS5qghw0WaokHchyjwmV6grE6qg02Ve0RuHOjCUHmw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: PG11 - Multiple Key Range Partition  (Amit Langote <amitlangote09@gmail.com>)
Ответы Re: PG11 - Multiple Key Range Partition  (Rares Salcudean <rares.salcudean@takeofflabs.com>)
Список pgsql-bugs
On Wed, 10 Jul 2019 at 21:02, Amit Langote <amitlangote09@gmail.com> wrote:
>
> On Wed, Jul 10, 2019 at 5:37 PM David Rowley
> > Thanks for making the test case. It is a bug.  There's a problem in
> > match_clause_to_partition_key() where because
> > match_boolean_partition_clause() returns false for the "NOT b"
> > condition when comparing to the first partition key this causes the
> > function to return PARTCLAUSE_UNSUPPORTED which causes the calling
> > function to not bother trying to match that qual up to any other
> > partition key.
>
> Oops, indeed a bug.  Should've returned PARTCLAUSE_NOMATCH there.

Here's a first draft fix for this, based on master.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Haribabu Kommi
Дата:
Сообщение: Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows
Следующее
От: Rares Salcudean
Дата:
Сообщение: Re: PG11 - Multiple Key Range Partition