]> granicus.if.org Git - postgis/commitdiff
Force order in ST_GeneratePoints so results are deterministic on all platforms
authorRegina Obe <lr@pcorp.us>
Sat, 12 Mar 2016 18:15:50 +0000 (18:15 +0000)
committerRegina Obe <lr@pcorp.us>
Sat, 12 Mar 2016 18:15:50 +0000 (18:15 +0000)
Closes #3502

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

regress/tickets.sql
regress/tickets_expected

index 660bbbc5ee235067e63aa92d44cc9844e59e241b..42e8f54d6a24474812a958d179a2a8beb5287eb5 100644 (file)
@@ -924,7 +924,8 @@ pts as (
 select '#3399' as t, n, count(*) from
 g, pts
 where st_contains(g.geom, pts.geom)
-group by n;
+group by n
+ORDER BY n;
 
 -- #3461
 SELECT '#3461', ST_GeomFromKML('<Polygon>
index 5c60626dea8e418cc3f938af649a0f6028abbe34..1326c0c65a1eede25a0f4225f67e69203e1b31e8 100644 (file)
@@ -280,8 +280,8 @@ ERROR:  invalid GML representation
 #3375|GEOMETRYCOLLECTION(POINT(0 -7))
 #3399|1|1
 #3399|10|10
-#3399|1000|1000
 #3399|100|100
+#3399|1000|1000
 ERROR:  invalid KML representation
 #3437a|5
 #3437b|5