]> granicus.if.org Git - postgis/commitdiff
#2506 regress failure on 32-bit windows PostgreSQL. More stringent round but also...
authorRegina Obe <lr@pcorp.us>
Sun, 13 Oct 2013 15:44:38 +0000 (15:44 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 13 Oct 2013 15:44:38 +0000 (15:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12035 b70326c6-7e19-0410-871a-916f4a2858ee

regress/tickets.sql
regress/tickets_expected

index 2f36a928e45cbe2c8bb24e2d9ecbdeb375e62a40..a8dccabf1663eeb4aeae956a07989596a51bb086 100644 (file)
@@ -846,7 +846,7 @@ SELECT '#2424', ST_AsText(ST_SnapToGrid(ST_CurveToLine(
 
 SELECT '#2427', st_astext(st_pointn(ST_CurveToLine('CIRCULARSTRING(-1 0,0 1,0 -1)'),1));
 
-SELECT '#2168',  ST_Distance(g1,g2) As dist_g1_g2, ST_Distance(g2,g1) AS dist_g2_g1
+SELECT '#2168',  ST_Distance(g1,g2)::numeric(16,8)  As dist_g1_g2, ST_Distance(g2,g1)::numeric(16,8) AS dist_g2_g1,ST_Distance(g1,g2) - ST_Distance(g2,g1) 
   FROM (SELECT 'POINT(18.5107234 54.7587757)'::geography As g1, 'POINT(18.58218 54.7344227)'::geography As g2) As a;
 
 
index 6fbb01861091c961b1aeb8467b4369d32c018ce8..10842ff76af55d6e96c2ba1443c2b9f9753228f2 100644 (file)
@@ -252,4 +252,4 @@ ERROR:  invalid GML representation
 #2423|POLYGON((-10 0,-9.2388 3.82683,-7.07107 7.07107,-3.82683 9.2388,0 10,3.82683 9.2388,7.07107 7.07107,9.2388 3.82683,10 0,-10 0))
 #2424|MULTILINESTRING((0 0,10 0,24 3,30 10))
 #2427|POINT(-1 0)
-#2168|5340.762373947|5340.762373947
+#2168|5340.76237395|5340.76237395|0