<div>What could be the reason for this query:</div><div><br></div><div>SELECT p.gid, array_to_string(array_agg(distinct(CASE when (g.cowgroupid <> 0) then g.cowgroupid end)), ';'), CAST(SUM(ST_Area(ST_Intersection(p.cell, g.geom))) AS decimal (6,4)), g.type, g.startyear, g.endyear</div>
<div>FROM priogrid p, "geoepr-20100212-1248" g WHERE ST_Intersects(p.cell, g.geom) GROUP BY p.gid, g.cowgroupid, g.type, g.startyear, g.endyear;</div><div><br></div><div>to produce the following error?</div><div>
<br></div><div><div>ERROR: Error performing intersection.</div><div><br></div><div>********** Error **********</div><div><br></div><div>ERROR: Error performing intersection.</div><div>SQL state: XX000</div><div><br></div>
</div><div>Andreas</div>