From: Regina Obe Date: Sun, 13 Oct 2013 15:44:38 +0000 (+0000) Subject: #2506 regress failure on 32-bit windows PostgreSQL. More stringent round but also... X-Git-Tag: 2.2.0rc1~1329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6c8d35343a71552b32b30ba0d26540192cab42d9;p=postgis #2506 regress failure on 32-bit windows PostgreSQL. More stringent round but also subtract to guarantee they are the same git-svn-id: http://svn.osgeo.org/postgis/trunk@12035 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/tickets.sql b/regress/tickets.sql index 2f36a928e..a8dccabf1 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -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; diff --git a/regress/tickets_expected b/regress/tickets_expected index 6fbb01861..10842ff76 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -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