st_equals(st_collectionextract(st_makevalid(orig),3), st_collectionextract(valid,3)),
st_isvalid(st_makevalid(orig)), -- paranoia
(st_isvaliddetail(orig)).valid
- FROM clean_cases;
+ FROM clean_cases
+ORDER BY 1, 2;
SELECT '#1719.1', ST_AsEWKT(ST_MakeValid('POINT(0 0)'));
SELECT '#1719.2', ST_AsEWKT(ST_MakeValid('GEOMETRYCOLLECTION(POINT(0 0),MULTIPOINT(3 4,5 2),LINESTRING(4 4, 4 4),POLYGON((0 0,10 10,0 10,10 0,0 0)))'));
+PG|1|t|t|f
+PG|2|t|t|f
+PG|3|t|t|f
+PG|4|t|t|f
+PG|5|t|t|f
RT|1|t|t|f
RT|2|t|t|f
RT|3|t|t|f
RT|16.3|t|t|f
RT|16.4|t|t|f
RT|17.1|t|t|f
-PG|1|t|t|f
-PG|2|t|t|f
-PG|3|t|t|f
-PG|4|t|t|f
-PG|5|t|t|f
#1719.1|POINT(0 0)
#1719.2|GEOMETRYCOLLECTION(POINT(0 0),MULTIPOINT(3 4,5 2),POINT(4 4),MULTIPOLYGON(((0 0,5 5,10 0,0 0)),((5 5,0 10,10 10,5 5))))
#1719.3|MULTIPOINT(3 4,5 2)