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 1iDGSe-0001qL-Js for pgsql-committers@arkaria.postgresql.org; Wed, 25 Sep 2019 23:12:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iDGSd-0007Wg-52 for pgsql-committers@arkaria.postgresql.org; Wed, 25 Sep 2019 23:12:39 +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 1iDGSc-0007WZ-UU for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:12:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iDGSW-0001nO-9G for pgsql-committers@lists.postgresql.org; Wed, 25 Sep 2019 23:12:38 +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 x8PNCTO6030278; Wed, 25 Sep 2019 19:12:29 -0400 From: Tom Lane To: Alexander Korotkov cc: Alexander Korotkov , pgsql-committers Subject: Re: pgsql: Implement jsonpath .datetime() method In-reply-to: References: Comments: In-reply-to Alexander Korotkov message dated "Thu, 26 Sep 2019 00:05:58 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30276.1569453149.1@sss.pgh.pa.us> Date: Wed, 25 Sep 2019 19:12:29 -0400 Message-ID: <30277.1569453149@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alexander Korotkov writes: > I've noticed buildfarm is unhappy with my commits. The proximate problem seems to be that compareItems() is insufficiently careful to ensure that both values are non-null before passing them off to datatype-specific code. The code accidentally fails to crash on 64-bit machines, but it's still giving garbage answers, I think. regards, tom lane