[postgis-tickets] r14779 - Force order in ST_GeneratePoints so results are deterministic on all platforms
Regina Obe
lr at pcorp.us
Sat Mar 12 10:15:51 PST 2016
Author: robe
Date: 2016-03-12 10:15:50 -0800 (Sat, 12 Mar 2016)
New Revision: 14779
Modified:
trunk/regress/tickets.sql
trunk/regress/tickets_expected
Log:
Force order in ST_GeneratePoints so results are deterministic on all platforms
Closes #3502
Modified: trunk/regress/tickets.sql
===================================================================
--- trunk/regress/tickets.sql 2016-03-12 17:49:56 UTC (rev 14778)
+++ trunk/regress/tickets.sql 2016-03-12 18:15:50 UTC (rev 14779)
@@ -924,7 +924,8 @@
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>
Modified: trunk/regress/tickets_expected
===================================================================
--- trunk/regress/tickets_expected 2016-03-12 17:49:56 UTC (rev 14778)
+++ trunk/regress/tickets_expected 2016-03-12 18:15:50 UTC (rev 14779)
@@ -280,8 +280,8 @@
#3375|GEOMETRYCOLLECTION(POINT(0 -7))
#3399|1|1
#3399|10|10
+#3399|100|100
#3399|1000|1000
-#3399|100|100
ERROR: invalid KML representation
#3437a|5
#3437b|5
More information about the postgis-tickets
mailing list