]> granicus.if.org Git - postgis/commitdiff
Don't depend on bytea representation for unrelated tests.
authorSandro Santilli <strk@keybit.net>
Thu, 22 Dec 2011 08:23:32 +0000 (08:23 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 22 Dec 2011 08:23:32 +0000 (08:23 +0000)
Fix testing against PostgreSQL 9.0+.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8500 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index 3ab9a37f596e98ed7a7ff9245a78d9029baa0955..87db6dbaddd07fd3ed6688b7322c91833fa59873 100644 (file)
@@ -464,7 +464,7 @@ SELECT '</#1320>';
 
 
 -- #1344
-select '#1344', ST_AsEWKB(st_makeline(g)) FROM ( values ('POINT(0 0)'::geometry ) ) as foo(g);
+select '#1344', octet_length(ST_AsEWKB(st_makeline(g))) FROM ( values ('POINT(0 0)'::geometry ) ) as foo(g);
 
 -- #1385
 SELECT '#1385', ST_Extent(g) FROM ( select null::geometry as g ) as foo; 
index 99e6cd0b0d84e9d716a5151b6f94e4e5b61fb64c..7ac5a649cec610418be112ca349ab2e1eba8b513 100644 (file)
@@ -141,5 +141,5 @@ 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
+#1344|25
 #1385|