Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8P9p-0005Ox-Sw for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jul 2021 15:38:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m8P9o-0003FO-RB for pgsql-bugs@arkaria.postgresql.org; Tue, 27 Jul 2021 15:38:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8P9o-0003FG-KQ for pgsql-bugs@lists.postgresql.org; Tue, 27 Jul 2021 15:38:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m8P9m-0006Oc-Mn for pgsql-bugs@lists.postgresql.org; Tue, 27 Jul 2021 15:38:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16RFc7H6305035; Tue, 27 Jul 2021 11:38:07 -0400 From: Tom Lane To: Alexander Korotkov cc: Alvaro Herrera , Neil Chen , Alexander Law , PostgreSQL mailing lists , Paul A Jungwirth Subject: Re: BUG #17066: Cache lookup failed when null (unknown) is passed as anycompatiblemultirange In-reply-to: References: <202106221342.lab2x5tvhcbs@alvherre.pgsql> <2549561.1624491310@sss.pgh.pa.us> <640279.1626818095@sss.pgh.pa.us> Comments: In-reply-to Alexander Korotkov message dated "Tue, 27 Jul 2021 18:34:10 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <305033.1627400287.1@sss.pgh.pa.us> Date: Tue, 27 Jul 2021 11:38:07 -0400 Message-ID: <305034.1627400287@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alexander Korotkov writes: > On Wed, Jul 21, 2021 at 12:54 AM Tom Lane wrote: >> In any case, apologies for taking so long to get back to this. Here's >> a proposed patch (based in part on Neil's earlier patch). > This patch looks good to me. Besides fixing the particular bug > report, it seems that the situation of mismatching range and > multirange types in arguments is now handled correctly. Thanks for reviewing! I'll push it later today. regards, tom lane