Re: 2023-05-11 release announcement draft - Mailing list pgsql-hackers

From David Rowley
Subject Re: 2023-05-11 release announcement draft
Date
Msg-id CAApHDvrmmWCxnjMR46sTvrUTP9f66j74+FMJ8eJxgEMdaTwGwg@mail.gmail.com
Whole thread Raw
In response to 2023-05-11 release announcement draft  ("Jonathan S. Katz" <jkatz@postgresql.org>)
Responses Re: 2023-05-11 release announcement draft
List pgsql-hackers
Thanks for working on this.

On Sun, 7 May 2023 at 15:37, Jonathan S. Katz <jkatz@postgresql.org> wrote:
> Please provide any suggestions, corrections, or notable omissions no
> later than 2023-05-11 0:00 AoE.

For this one:

> * Fix partition pruning logic for partitioning on boolean columns when using a
> `IS NOT TRUE` condition.

Just to explain this a little further:  Effectively the code thought
"IS NOT TRUE" meant "IS FALSE", and "IS NOT FALSE" meant "IS TRUE".
That was wrong because each of the NOT cases should have allowed
NULLs.

Maybe the wording can be adjusted to mention NULLs. Maybe something
along the lines of:

* Fix partition pruning bug with the boolean "IS NOT TRUE" and "IS NOT
FALSE" conditions. NULL partitions were accidentally pruned when they
shouldn't have been.

David



pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Introduce join_info_array for direct lookups of SpecialJoinInfo by ojrelid
Next
From: "盏一"
Date:
Subject: Re: Proposal for Prototype Implementation to Enhance C/C++ Interoperability in PostgreSQL