Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hw81o-0005Rz-Q4 for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Aug 2019 16:46:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hw81n-0006IW-7x for pgsql-bugs@arkaria.postgresql.org; Fri, 09 Aug 2019 16:46:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hw81m-0006E5-JH for pgsql-bugs@lists.postgresql.org; Fri, 09 Aug 2019 16:46:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1hw81R-0007r2-6B for pgsql-bugs@lists.postgresql.org; Fri, 09 Aug 2019 16:46:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x79Gjg4F009727; Fri, 9 Aug 2019 12:45:42 -0400 From: Tom Lane To: =?UTF-8?Q?Piotr_W=C5=82odarczyk?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: Recovery mode with partitioned tables and ANY(NULL) in WHERE clause In-reply-to: References: Comments: In-reply-to =?UTF-8?Q?Piotr_W=C5=82odarczyk?= message dated "Fri, 09 Aug 2019 18:28:37 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9725.1565369142.1@sss.pgh.pa.us> Date: Fri, 09 Aug 2019 12:45:42 -0400 Message-ID: <9726.1565369142@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =?UTF-8?Q?Piotr_W=C5=82odarczyk?= 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