From 784b948984a529991f86bbefd4013ef98f984996 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 1 Jul 2005 23:18:01 +0000 Subject: [PATCH] Fix platform-dependency in recently added regression tests. Per buildfarm results. --- src/test/regress/expected/create_index.out | 24 +++++++++++----------- src/test/regress/sql/create_index.sql | 12 +++++------ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/test/regress/expected/create_index.out b/src/test/regress/expected/create_index.out index 1f5b8a06a7..7bd4e0c522 100644 --- a/src/test/regress/expected/create_index.out +++ b/src/test/regress/expected/create_index.out @@ -59,11 +59,11 @@ SET enable_indexscan = OFF; SET enable_bitmapscan = OFF; SELECT * FROM fast_emp4000 WHERE home_base @ '(200,200),(2000,1000)'::box - ORDER BY home_base USING <<; + ORDER BY home_base USING <; home_base ----------------------- - (337,455),(240,359) (1444,403),(1346,344) + (337,455),(240,359) (2 rows) SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; @@ -80,11 +80,11 @@ SET enable_bitmapscan = ON; -- changes too often for me to want to put an EXPLAIN in the test...) SELECT * FROM fast_emp4000 WHERE home_base @ '(200,200),(2000,1000)'::box - ORDER BY home_base USING <<; + ORDER BY home_base USING <; home_base ----------------------- - (337,455),(240,359) (1444,403),(1346,344) + (337,455),(240,359) (2 rows) SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; @@ -111,11 +111,11 @@ SET enable_indexscan = OFF; SET enable_bitmapscan = OFF; SELECT * FROM fast_emp4000 WHERE home_base @ '(200,200),(2000,1000)'::box - ORDER BY home_base USING <<; + ORDER BY home_base USING <; home_base ----------------------- - (337,455),(240,359) (1444,403),(1346,344) + (337,455),(240,359) (2 rows) 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 (1 row) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) - ORDER BY f1 USING <<; + ORDER BY f1 USING <; f1 --------------- + <(1,2),3> <(1,3),5> <(1,2),100> - <(1,2),3> <(100,1),115> (4 rows) @@ -161,11 +161,11 @@ SET enable_bitmapscan = ON; -- changes too often for me to want to put an EXPLAIN in the test...) SELECT * FROM fast_emp4000 WHERE home_base @ '(200,200),(2000,1000)'::box - ORDER BY home_base USING <<; + ORDER BY home_base USING <; home_base ----------------------- - (337,455),(240,359) (1444,403),(1346,344) + (337,455),(240,359) (2 rows) 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 (1 row) SELECT * FROM circle_tbl WHERE f1 && circle(point(1,-2), 1) - ORDER BY f1 USING <<; + ORDER BY f1 USING <; f1 --------------- + <(1,2),3> <(1,3),5> <(1,2),100> - <(1,2),3> <(100,1),115> (4 rows) diff --git a/src/test/regress/sql/create_index.sql b/src/test/regress/sql/create_index.sql index 0e28ac0e14..07f40f5c77 100644 --- a/src/test/regress/sql/create_index.sql +++ b/src/test/regress/sql/create_index.sql @@ -83,7 +83,7 @@ SET enable_bitmapscan = OFF; SELECT * FROM fast_emp4000 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; @@ -96,7 +96,7 @@ SET enable_bitmapscan = ON; -- changes too often for me to want to put an EXPLAIN in the test...) SELECT * FROM fast_emp4000 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; @@ -128,7 +128,7 @@ SET enable_bitmapscan = OFF; SELECT * FROM fast_emp4000 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; @@ -136,7 +136,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ORDER BY f1 USING <<; 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; @@ -151,7 +151,7 @@ SET enable_bitmapscan = ON; -- changes too often for me to want to put an EXPLAIN in the test...) SELECT * FROM fast_emp4000 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; @@ -159,7 +159,7 @@ SELECT * FROM polygon_tbl WHERE f1 ~ '((1,1),(2,2),(2,1))'::polygon ORDER BY f1 USING <<; 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; -- 2.40.0