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 1iqj5H-00014B-Bm for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Jan 2020 19:39:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iqj5F-00089t-0S for pgsql-bugs@arkaria.postgresql.org; Sun, 12 Jan 2020 19:39:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iqj5E-00089h-OX for pgsql-bugs@lists.postgresql.org; Sun, 12 Jan 2020 19:39:36 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iqj5C-0003GQ-Az for pgsql-bugs@lists.postgresql.org; Sun, 12 Jan 2020 19:39:36 +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 00CJdSl0026199; Sun, 12 Jan 2020 14:39:28 -0500 From: Tom Lane To: Michael Paquier cc: Andrey Borodin , Tomas Vondra , Adam Scott , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16122: segfault pg_detoast_datum (datum=0x0) at fmgr.c:1833 numrange query In-reply-to: <20200109054545.GL2251@paquier.xyz> References: <20191119014827.GC1614@paquier.xyz> <20191119103813.xnsloisoxkwrxoim@development> <20191119114056.GA516103@paquier.xyz> <20191210053815.GI72921@paquier.xyz> <837E8CEE-FFF3-497C-B7C2-37BB42FAF2C5@yandex-team.ru> <5794.1578342514@sss.pgh.pa.us> <20200107063907.GF2386@paquier.xyz> <23459.1578409687@sss.pgh.pa.us> <20200109054545.GL2251@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Thu, 09 Jan 2020 14:45:45 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26197.1578857968.1@sss.pgh.pa.us> Date: Sun, 12 Jan 2020 14:39:28 -0500 Message-ID: <26198.1578857968@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > On Tue, Jan 07, 2020 at 10:08:07AM -0500, Tom Lane wrote: >> I wouldn't mind having a test case if it crashes reliably, but it >> doesn't for me. > Ah, OK. That makes sense. If you don't wish to keep the test around > in core, that's fine to me. I may keep that into one of my own repos > just for history's sake. OK. Hearing no further comments, I made another pass over the code (improved some comments, added one more guard against silly subdiff results) and pushed this. regards, tom lane