pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Piotr Włodarczyk <piotrwlodarczyk89@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: Recovery mode with partitioned tables and ANY(NULL) in WHERE clause
Date: Fri, 09 Aug 2019 12:45:42 -0400
Message-ID: <9726.1565369142@sss.pgh.pa.us> (raw)
In-Reply-To: <CAP-dhMr+vRpwizEYjUjsiZ1vwqpohTm+3Pbdt6Pr7FEgPq9R0Q@mail.gmail.com>
References: <CAP-dhMr+vRpwizEYjUjsiZ1vwqpohTm+3Pbdt6Pr7FEgPq9R0Q@mail.gmail.com>

=?UTF-8?Q?Piotr_W=C5=82odarczyk?= <piotrwlodarczyk89@gmail.com> writes:
> I think we found BUG in version from 11.4 to 11.5 (maybe and previous).

Yeah, looks like the ScalarArrayOpExpr path in
match_clause_to_partition_key forgot to consider the possibility
of a constant-null array.  Will fix, thanks for the report!

			regards, tom lane





view thread (8+ messages)  latest in thread

Message-ID: <9726.1565369142@sss.pgh.pa.us>
Permalink:  ../9726.1565369142@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9726.1565369142@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, piotrwlodarczyk89@gmail.com
  Subject: Re: Recovery mode with partitioned tables and ANY(NULL) in WHERE clause
  In-Reply-To: <9726.1565369142@sss.pgh.pa.us>
  References: <CAP-dhMr+vRpwizEYjUjsiZ1vwqpohTm+3Pbdt6Pr7FEgPq9R0Q@mail.gmail.com> <9726.1565369142@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox