Re: Using nulls with earthdistance operator crashes backend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Stosberg <mark(at)summersault(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Using nulls with earthdistance operator crashes backend
Date: 2001-07-31 16:25:11
Message-ID: 11228.996596711@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Mark Stosberg <mark(at)summersault(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Mark Stosberg 2001-07-31 17:03:02 Re: Using nulls with earthdistance operator crashes backend
Previous Message Stephan Szabo 2001-07-31 16:06:13 Re: 'order by' and 'desc' not working in subquery using 'not in'