Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6a6c752

Browse files
author
Neil Conway
committed
Stop a few regression tests from needlessly disabling GEQO. This was
necessary in 1997, when geqo_threshold did not exist, but it is nolonger needed.
1 parente031844 commit6a6c752

File tree

8 files changed

+0
-23
lines changed

8 files changed

+0
-23
lines changed

‎src/test/regress/expected/geometry.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ SELECT '' AS twenty, b.f1 / p.f1 AS rotation
284284
--
285285
-- Paths
286286
--
287-
SET geqo TO 'off';
288287
SELECT '' AS eight, npoints(f1) AS npoints, f1 AS path FROM PATH_TBL;
289288
eight | npoints | path
290289
-------+---------+---------------------------
@@ -337,7 +336,6 @@ SELECT '' AS eight, p1.f1 * point '(2,-1)' AS dist_mul
337336
| ((34,13),(40,15))
338337
(8 rows)
339338

340-
RESET geqo;
341339
--
342340
-- Polygons
343341
--

‎src/test/regress/expected/geometry_1.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ SELECT '' AS twenty, b.f1 / p.f1 AS rotation
284284
--
285285
-- Paths
286286
--
287-
SET geqo TO 'off';
288287
SELECT '' AS eight, npoints(f1) AS npoints, f1 AS path FROM PATH_TBL;
289288
eight | npoints | path
290289
-------+---------+---------------------------
@@ -337,7 +336,6 @@ SELECT '' AS eight, p1.f1 * point '(2,-1)' AS dist_mul
337336
| ((34,13),(40,15))
338337
(8 rows)
339338

340-
RESET geqo;
341339
--
342340
-- Polygons
343341
--

‎src/test/regress/expected/geometry_2.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ SELECT '' AS twenty, b.f1 / p.f1 AS rotation
284284
--
285285
-- Paths
286286
--
287-
SET geqo TO 'off';
288287
SELECT '' AS eight, npoints(f1) AS npoints, f1 AS path FROM PATH_TBL;
289288
eight | npoints | path
290289
-------+---------+---------------------------
@@ -337,7 +336,6 @@ SELECT '' AS eight, p1.f1 * point '(2,-1)' AS dist_mul
337336
| ((34,13),(40,15))
338337
(8 rows)
339338

340-
RESET geqo;
341339
--
342340
-- Polygons
343341
--

‎src/test/regress/expected/point.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ SELECT '' AS six, p.f1, p.f1 <-> point '(0,0)' AS dist
105105
| (5.1,34.5) | 34.8749193547455
106106
(6 rows)
107107

108-
SET geqo TO 'off';
109108
SELECT '' AS thirtysix, p1.f1 AS point1, p2.f1 AS point2, p1.f1 <-> p2.f1 AS dist
110109
FROM POINT_TBL p1, POINT_TBL p2
111110
ORDER BY dist, p1.f1[0], p2.f1[0];
@@ -222,4 +221,3 @@ SELECT '' AS three, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <-> p2.f1) AS dista
222221
| (5.1,34.5) | (10,10) | 24.9851956166046
223222
(3 rows)
224223

225-
RESET geqo;

‎src/test/regress/expected/tinterval.out

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ SELECT '' AS three, t1.*
103103
| ["Wed Dec 31 16:00:00 1969 PST" "Mon May 01 00:30:30 1995 PDT"]
104104
(3 rows)
105105

106-
SET geqo TO 'off';
107106
SELECT '' AS five, t1.f1, t2.f1
108107
FROM TINTERVAL_TBL t1, TINTERVAL_TBL t2
109108
WHERE t1.f1 && t2.f1 and
@@ -167,4 +166,3 @@ SELECT '' AS three, t1.f1
167166
| ["Wed Dec 31 16:00:00 1969 PST" "Mon May 01 00:30:30 1995 PDT"]
168167
(3 rows)
169168

170-
RESET geqo;

‎src/test/regress/sql/geometry.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,6 @@ SELECT '' AS twenty, b.f1 / p.f1 AS rotation
8787
-- Paths
8888
--
8989

90-
SET geqo TO'off';
91-
9290
SELECT''AS eight, npoints(f1)AS npoints, f1ASpathFROM PATH_TBL;
9391

9492
SELECT''AS four,path(f1)FROM POLYGON_TBL;
@@ -101,8 +99,6 @@ SELECT '' AS eight, p1.f1 + point '(10,10)' AS dist_add
10199
SELECT''AS eight,p1.f1*point'(2,-1)'AS dist_mul
102100
FROM PATH_TBL p1;
103101

104-
RESET geqo;
105-
106102
--
107103
-- Polygons
108104
--

‎src/test/regress/sql/point.sql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ SELECT '' AS six, p.f1, p.f1 <-> point '(0,0)' AS dist
5555
FROM POINT_TBL p
5656
ORDER BY dist;
5757

58-
SET geqo TO'off';
59-
6058
SELECT''AS thirtysix,p1.f1AS point1,p2.f1AS point2,p1.f1<->p2.f1AS dist
6159
FROM POINT_TBL p1, POINT_TBL p2
6260
ORDER BY dist,p1.f1[0],p2.f1[0];
@@ -76,6 +74,3 @@ SELECT '' AS three, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <-> p2.f1) AS dista
7674
FROM POINT_TBL p1, POINT_TBL p2
7775
WHERE (p1.f1<->p2.f1)>3andp1.f1<<p2.f1andp1.f1>^p2.f1
7876
ORDER BY distance;
79-
80-
RESET geqo;
81-

‎src/test/regress/sql/tinterval.sql

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ SELECT '' AS three, t1.*
7070
WHEREt1.f1 &&
7171
tinterval'["Aug 15 14:23:19 1983" "Sep 16 14:23:19 1983"]';
7272

73-
SET geqo TO'off';
74-
7573
SELECT''AS five,t1.f1,t2.f1
7674
FROM TINTERVAL_TBL t1, TINTERVAL_TBL t2
7775
WHEREt1.f1 &&t2.f1and
@@ -97,5 +95,3 @@ SELECT '' AS three, t1.f1
9795
(abstime'Aug 15 14:23:19 1983'<#>
9896
abstime'Sep 16 14:23:19 1983')
9997
ORDER BYt1.f1;
100-
101-
RESET geqo;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp