Hi, On Fri, Nov 26, 2021 at 2:10 PM Richard Guo <guofengli...@gmail.com> wrote: > > Seems point_inside() does not handle NaN properly.
This is unfortunately a known issue, which was reported twice ([1] and [2]) already. There's a patch proposed for it: https://commitfest.postgresql.org/32/2710/ (adding Horiguchi-san in Cc). [1]: https://www.postgresql.org/message-id/flat/cagf+fx70rwfok5cd00umfa__0yp+vtqg5ck7c2onb-yczp0...@mail.gmail.com [2]: https://www.postgresql.org/message-id/20210330095751.x5hnqbqcxilzwjlm%40nol