[postgis-users] Possible issue with Geos on PostgreSQL 8.0NativeWindows

strk at refractions.net strk at refractions.net
Thu Jan 13 02:42:01 PST 2005


On Thu, Jan 13, 2005 at 12:37:30PM +0200, Steffen Macke wrote:
> >         select geosnoop('POLYGON((0 0, 1 1, 0 0))');
> > 
> > This didn't crash my backend. However, I can't vouch for the version of
> 
> I'm using PostGIS as provided by PostgreSQL 8.0.0 RC5:
> 
> dcmms=# select geosnoop('POLYGON((0 0, 1 1,0 0))');
> server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
> 
> What does the "correct" output look like?

No, it looks like this:

strk=# select '130', geosnoop('POLYGON((0 0, 1 1, 0 0))');
NOTICE:  IllegalArgumentException: Number of points must be 0 or >3
ERROR:  POSTGIS2GEOS conversion failed
strk=# 

--strk;



More information about the postgis-users mailing list