The following query should segfault, probably on all 1.0.x versions: select 'GEOMETRYCOLLECTION(POINT(1 1), GEOMETRYCOLLECTION EMPTY)'::geometry; It is fixed in CVS. --strk;