Re: Using nulls with earthdistance operator crashes backend - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Using nulls with earthdistance operator crashes backend
Date
Msg-id 11228.996596711@sss.pgh.pa.us
Whole thread Raw
In response to Using nulls with earthdistance operator crashes backend  (Mark Stosberg <mark@summersault.com>)
List pgsql-bugs
Mark Stosberg <mark@summersault.com> writes:
> * Install earthdistance operator from the contrib directory.
> * try this:
> cascade=> select null <@> '1,1'::point;

> ## The result I get:
> pqReadData() -- backend closed the channel unexpectedly.

Probably the earthdistance functions are not NULL-safe and need to be
marked "isStrict" in CREATE FUNCTION.  Would you be willing to do the
legwork on working up a patch for that?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: 'order by' and 'desc' not working in subquery using 'not in'
Next
From: Mark Stosberg
Date:
Subject: Re: Using nulls with earthdistance operator crashes backend