[7.0.2] should this work? geo_distance() ...

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [7.0.2] should this work? geo_distance() ...
Date: 2000-07-10 03:03:52
Message-ID: Pine.BSF.4.21.0007100000060.3314-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


SELECT geo_distance(location::point,'(-79.412636,43.720768)'::point)
FROM location_table;

where location is defined as point already?

I'm getting:

pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

each time ... its producing a core that I've yet to analyze,as I have to
compile a new debugging server to do so. figured I'd check first that
what I'm trying to do is possible, before I try and 'bark up the wrong
tree' ...

thanks ...

Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy(at)hub(dot)org secondary: scrappy(at){freebsd|postgresql}.org

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-07-10 03:07:02 Re: [7.0.2] should this work? geo_distance() ...
Previous Message Tom Lane 2000-07-10 02:59:28 Re: Re: [GENERAL] PostgreSQL vs. MySQL