<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000099">
<br>
When I run this query my PostgreSQL server stops!!<br>
<br>
SELECT ST_IsValid(the_geom)<br>
FROM roadassets<br>
WHERE gid = 1;<br>
<br>
If I run something like 'select * from roadassets;' all is fine.<br>
<br>
I'm running win2008 standard server on VirtualBox hosted on a Ubuntu
10.04 desktop. The PostgreSQL/PostGIS install was done using the
EnterpriseDB installer - port 5433 - (I have posted this issue on the
EnterpriseDB forum too). Queries are run using PGAdmin on the Ubuntu
10.04 desktop. <br>
<br>
Further information:<br>
The event log in windows says 'Failed to query jobs table!'<br>
I have another PostgeSQL/PostGIS (8.4.4/1.5.1) instance running on the
Ubuntu desktop and the following query works ok:<br>
SELECT ST_IsValid(ST_GeomFromText('LINESTRING(0 0, 1 1)')) As good_line,<br>
    ST_IsValid(ST_GeomFromText('POLYGON((0 0, 1 1, 1 2, 1 1, 0 0))'))
As bad_poly<br>
(Note: this query also kills the win2008 server)<br>
<br>
Why would running a PostGIS function stop the server???<br>
<br>
Cheers<br>
<br>
Colin<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-signature"><br>
</div>
</body>
</html>