Commit 784b9489 authored by Tom Lane's avatar Tom Lane

Fix platform-dependency in recently added regression tests.

Per buildfarm results.
parent 539bc9fc
...@@ -59,11 +59,11 @@ SET enable_indexscan = OFF; ...@@ -59,11 +59,11 @@ SET enable_indexscan = OFF;
SET enable_bitmapscan = OFF; SET enable_bitmapscan = OFF;
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
home_base home_base
----------------------- -----------------------
(337,455),(240,359)
(1444,403),(1346,344) (1444,403),(1346,344)
(337,455),(240,359)
(2 rows) (2 rows)
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -80,11 +80,11 @@ SET enable_bitmapscan = ON; ...@@ -80,11 +80,11 @@ SET enable_bitmapscan = ON;
-- changes too often for me to want to put an EXPLAIN in the test...) -- changes too often for me to want to put an EXPLAIN in the test...)
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
home_base home_base
----------------------- -----------------------
(337,455),(240,359)
(1444,403),(1346,344) (1444,403),(1346,344)
(337,455),(240,359)
(2 rows) (2 rows)
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -111,11 +111,11 @@ SET enable_indexscan = OFF; ...@@ -111,11 +111,11 @@ SET enable_indexscan = OFF;
SET enable_bitmapscan = OFF; SET enable_bitmapscan = OFF;
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
home_base home_base
----------------------- -----------------------
(337,455),(240,359)
(1444,403),(1346,344) (1444,403),(1346,344)
(337,455),(240,359)
(2 rows) (2 rows)
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -132,12 +132,12 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ...@@ -132,12 +132,12 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon
(1 row) (1 row)
SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1)
ORDER BY f1 USING <<; ORDER BY f1 USING <;
f1 f1
--------------- ---------------
<(1,2),3>
<(1,3),5> <(1,3),5>
<(1,2),100> <(1,2),100>
<(1,2),3>
<(100,1),115> <(100,1),115>
(4 rows) (4 rows)
...@@ -161,11 +161,11 @@ SET enable_bitmapscan = ON; ...@@ -161,11 +161,11 @@ SET enable_bitmapscan = ON;
-- changes too often for me to want to put an EXPLAIN in the test...) -- changes too often for me to want to put an EXPLAIN in the test...)
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
home_base home_base
----------------------- -----------------------
(337,455),(240,359)
(1444,403),(1346,344) (1444,403),(1346,344)
(337,455),(240,359)
(2 rows) (2 rows)
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -182,12 +182,12 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ...@@ -182,12 +182,12 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon
(1 row) (1 row)
SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1)
ORDER BY f1 USING <<; ORDER BY f1 USING <;
f1 f1
--------------- ---------------
<(1,2),3>
<(1,3),5> <(1,3),5>
<(1,2),100> <(1,2),100>
<(1,2),3>
<(100,1),115> <(100,1),115>
(4 rows) (4 rows)
......
...@@ -83,7 +83,7 @@ SET enable_bitmapscan = OFF; ...@@ -83,7 +83,7 @@ SET enable_bitmapscan = OFF;
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -96,7 +96,7 @@ SET enable_bitmapscan = ON; ...@@ -96,7 +96,7 @@ SET enable_bitmapscan = ON;
-- changes too often for me to want to put an EXPLAIN in the test...) -- changes too often for me to want to put an EXPLAIN in the test...)
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -128,7 +128,7 @@ SET enable_bitmapscan = OFF; ...@@ -128,7 +128,7 @@ SET enable_bitmapscan = OFF;
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -136,7 +136,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ...@@ -136,7 +136,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon
ORDER BY f1 USING <<; ORDER BY f1 USING <<;
SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1)
ORDER BY f1 USING <<; ORDER BY f1 USING <;
SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon; SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon;
...@@ -151,7 +151,7 @@ SET enable_bitmapscan = ON; ...@@ -151,7 +151,7 @@ SET enable_bitmapscan = ON;
-- changes too often for me to want to put an EXPLAIN in the test...) -- changes too often for me to want to put an EXPLAIN in the test...)
SELECT * FROM fast_emp4000 SELECT * FROM fast_emp4000
WHERE home_base @ '(200,200),(2000,1000)'::box WHERE home_base @ '(200,200),(2000,1000)'::box
ORDER BY home_base USING <<; ORDER BY home_base USING <;
SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box;
...@@ -159,7 +159,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ...@@ -159,7 +159,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon
ORDER BY f1 USING <<; ORDER BY f1 USING <<;
SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1)
ORDER BY f1 USING <<; ORDER BY f1 USING <;
SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon; SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment