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 1kAuOF-0000M6-Vb for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 12:18:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kAuOE-0005kG-JP for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 12:18:54 +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 1kAuOE-0005k9-CE for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2020 12:18:54 +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 1kAuOC-0008V7-9o for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2020 12:18:53 +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 07QCIng52811004; Wed, 26 Aug 2020 08:18:49 -0400 From: Tom Lane To: Kyotaro Horiguchi cc: bruce@momjian.us, sbjesse@gmail.com, pgsql-hackers@lists.postgresql.org Subject: Re: Strange behavior with polygon and NaN In-reply-to: <20200826.172525.155200749215780647.horikyota.ntt@gmail.com> References: <20200825230350.GA20669@momjian.us> <20200826.172525.155200749215780647.horikyota.ntt@gmail.com> Comments: In-reply-to Kyotaro Horiguchi message dated "Wed, 26 Aug 2020 17:25:25 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2811002.1598444329.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 26 Aug 2020 08:18:49 -0400 Message-ID: <2811003.1598444329@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Kyotaro Horiguchi writes: > At Tue, 25 Aug 2020 19:03:50 -0400, Bruce Momjian wro= te in = >> I can confirm that this two-month old email report still produces >> different results with indexes on/off in git master, which I don't thin= k >> is ever correct behavior. > I agree to that the behavior is broken. = Yeah, but ... what is "non broken" in this case? I'm not convinced that having point_inside() return zero for any case involving NaN is going to lead to noticeably saner behavior than today. regards, tom lane