Re: Problem, partition pruning for prepared statement with IS NULL clause.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Sergei Glukhov <s(dot)glukhov(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Problem, partition pruning for prepared statement with IS NULL clause.
Date: 2023-10-06 21:02:43
Message-ID: ZSB1840wfTVsbuFD@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Oct 6, 2023 at 05:00:54PM -0400, Bruce Momjian wrote:
> On Fri, Oct 6, 2023 at 06:09:45PM +0400, Sergei Glukhov wrote:
> > Test case:
> > ------
> > set plan_cache_mode to force_generic_plan;
> > prepare stmt AS select * from hp where a is null and b = $1;
> > explain execute stmt('xxx');
> > ------
>
> I can confirm the crash in git master.

There were some UTF8 non-space whitespace characters in the email so
attached is a clean reproducable SQL crash file.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

Attachment Content-Type Size
crash.sql application/sql 1.3 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2023-10-06 21:06:15 Re: Where can I find the doxyfile?
Previous Message Bruce Momjian 2023-10-06 21:00:54 Re: Problem, partition pruning for prepared statement with IS NULL clause.