[postgis-users] Will someone compile PostGIS 0.8.0 and PostgreSQL 7.4 for Win32 and want to share it?

strk strk at keybit.net
Tue Nov 25 06:04:16 PST 2003


sdteffen wrote:
> > You have to make GEOS throw an exception and see if it kills the backend.
> > If it does you need to link against libstc++, if you get an error message
> > (ERROR severity in pgsql) everything is ok. Trying to GeomUnion a collection
> > should throw an exception, you can try that.
> 
> dcmms=# select geomunion('GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 
> 0)');
>                           geomunion
> ------------------------------------------------------------
>   SRID=-1;GEOMETRYCOLLECTION(LINESTRING(1 1,0 0),POINT(0 0))
> (1 row)
> 
> No error message, but the backend is still alive. Should the backend die
> randomly? I get the same result on SuSE 8.2, PostgreSQL 7.3.2.

Try this:

SELECT geomunion(
	'GEOMETRYCOLLECTION(POINT(0 0), LINESTRING(1 1))',
	'POINT(0 0)'
);

--strk;



More information about the postgis-users mailing list