Silence create_index regression test failure.
The expected output contained some floating point values which might get rounded slightly differently on different platforms. The exact output isn't very interesting in this test, so just round it. Per buildfarm member rover_firefly.
This commit is contained in:
parent
98edd617f3
commit
9feaba28e2
|
@ -387,19 +387,19 @@ SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10;
|
||||||
((2424,81),(2424,160),(2424,160),(2424,81))
|
((2424,81),(2424,160),(2424,160),(2424,81))
|
||||||
(10 rows)
|
(10 rows)
|
||||||
|
|
||||||
SELECT * FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10;
|
SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10;
|
||||||
f1
|
circle_center | radius
|
||||||
-----------------------------------
|
----------------+--------
|
||||||
<(288.5,407),68.2367203197809>
|
(288.5,407) | 68
|
||||||
<(710.5,175),49.9624859269432>
|
(710.5,175) | 50
|
||||||
<(323.5,1433),51.4417145903983>
|
(323.5,1433) | 51
|
||||||
<(927.5,1178.5),30.4384625104489>
|
(927.5,1178.5) | 30
|
||||||
<(1395,373.5),57.1948424248201>
|
(1395,373.5) | 57
|
||||||
<(1555.5,1007),52.7091073724456>
|
(1555.5,1007) | 53
|
||||||
<(217,1835),44.5982062419555>
|
(217,1835) | 45
|
||||||
<(489,2421.5),22.3886131772381>
|
(489,2421.5) | 22
|
||||||
<(2424,120.5),39.5>
|
(2424,120.5) | 40
|
||||||
<(751.5,2655),20.4022057631032>
|
(751.5,2655) | 20
|
||||||
(10 rows)
|
(10 rows)
|
||||||
|
|
||||||
-- Now check the results from plain indexscan
|
-- Now check the results from plain indexscan
|
||||||
|
|
|
@ -226,7 +226,7 @@ SELECT count(*) FROM radix_text_tbl WHERE t ~>~ 'Worth
|
||||||
|
|
||||||
SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10;
|
SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10;
|
||||||
|
|
||||||
SELECT * FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10;
|
SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10;
|
||||||
|
|
||||||
-- Now check the results from plain indexscan
|
-- Now check the results from plain indexscan
|
||||||
SET enable_seqscan = OFF;
|
SET enable_seqscan = OFF;
|
||||||
|
|
Loading…
Reference in New Issue