]> granicus.if.org Git - postgis/commitdiff
Add test for #1344 (can't dump invalid geometries)
authorSandro Santilli <strk@keybit.net>
Fri, 16 Dec 2011 14:59:34 +0000 (14:59 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 16 Dec 2011 14:59:34 +0000 (14:59 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8444 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index d74a8c700bef87b4497f7a39387aa676e3ef0817..08aff436778aaa8b13394df4a3eee849c73a687a 100644 (file)
@@ -455,6 +455,9 @@ SELECT '</#1320>';
 -- st_AsText POLYGON((0 0,10 0,10 10,0 0))
 
 
+-- #1344
+select '#1344', ST_AsEWKB(st_makeline(g)) FROM ( values ('POINT(0 0)'::geometry ) ) as foo(g);
+
 -- Clean up
 DELETE FROM spatial_ref_sys;
 
index 30c8d5d16ea5c7608001459c62c7f382841a27e4..cba398e067b957f8f0e92969a4791cae2e44d0ba 100644 (file)
@@ -140,3 +140,4 @@ ERROR:  Geometry type (Polygon) does not match column type (MultiPolygon)
 #1320.geog.3|MULTIPOLYGON|4326
 #1320.geom.3|MULTIPOLYGON|4326
 </#1320>
+#1344|\001\002\000\000\000\001\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000