Re: Using nulls with earthdistance operator crashes backend

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Using nulls with earthdistance operator crashes backend
Дата
Msg-id 11228.996596711@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Using nulls with earthdistance operator crashes backend  (Mark Stosberg <mark@summersault.com>)
Список 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 по дате отправления:

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: 'order by' and 'desc' not working in subquery using 'not in'
Следующее
От: Mark Stosberg
Дата:
Сообщение: Re: Using nulls with earthdistance operator crashes backend