Re: [BUGS] Using nulls with earthdistance operator crashes backend (patch)

2001-08-20 Thread Mark Stosberg
> Tom Lane wrote: > > > > Mark Stosberg <[EMAIL PROTECTED]> 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. > > >

Re: [BUGS] Using nulls with earthdistance operator crashes backend (patch)

2001-08-16 Thread Tom Lane
Mark Stosberg <[EMAIL PROTECTED]> writes: > Here's a patch using "isstrict": Oh, there's just the one function? Sorry for making you go to the work of submitting a patch ;-) ... I thought there'd be more to it. Will apply. regards, tom lane ---(

Re: [BUGS] Using nulls with earthdistance operator crashes backend

2001-07-31 Thread Mark Stosberg
I'll give it a shot and post the patch or let you know I'm stuck. :) Thanks! -mark Tom Lane wrote: > > Mark Stosberg <[EMAIL PROTECTED]> writes: > > * Install earthdistance operator from the contrib directory. > > * try this: > > cascade=> select null <@> '1,1'::point; > > > ## The result

Re: [BUGS] Using nulls with earthdistance operator crashes backend

2001-07-31 Thread Tom Lane
Mark Stosberg <[EMAIL PROTECTED]> 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-saf

[BUGS] Using nulls with earthdistance operator crashes backend

2001-07-31 Thread Mark Stosberg
Hello! Here's now to reproduce my bug: * Start with Postgres 7.1.2 (specifically: PostgreSQL 7.1 on i386--freebsd4.3, compiled by GCC 2.95.3 ) * Install earthdistance operator from the contrib directory. * try this: cascade=> select null <@> '1,1'::point; ## The result I get: pqReadData() -- b