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

Commit8bb5691

Browse files
author
Thomas G. Lockhart
committed
Change ORDER BY to get consistant results with new sorting routines.
1 parentd8ec518 commit8bb5691

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ SELECT '' AS two, circle(f1)
144144
SELECT''AS twentyfour,c1.f1AScircle,p1.f1ASpoint, (p1.f1<->c1.f1)AS distance
145145
FROM CIRCLE_TBL c1, POINT_TBL p1
146146
WHERE (p1.f1<->c1.f1)>0
147-
ORDER BY distance,circle;
147+
ORDER BY distance,circle,point using<<;
148148

‎src/test/regress/sql/horology.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ SELECT '' AS ten, f1 AS datetime
2121

2222
SELECT''AS hundred,d.f1AS datetime,t.f1AS timespan,d.f1+t.f1AS plus
2323
FROM TEMP_DATETIME d, TIMESPAN_TBL t
24-
ORDER BY plus;
24+
ORDER BY plus, datetime, timespan;
2525

2626
SELECT''AS hundred,d.f1AS datetime,t.f1AS timespan,d.f1-t.f1AS minus
2727
FROM TEMP_DATETIME d, TIMESPAN_TBL t
2828
WHERE isfinite(d.f1)
29-
ORDER BY minus;
29+
ORDER BY minus, datetime, timespan;
3030

3131
SELECT''AS ten,d.f1AS datetime,'1980-01-06 00:00 GMT'::datetimeAS gpstime_zero,
3232
d.f1-'1980-01-06 00:00 GMT'::datetimeAS difference

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ SET geqo TO 'off';
5757

5858
SELECT''AS thirtysix,p1.f1AS point1,p2.f1AS point2,p1.f1<->p2.f1AS dist
5959
FROM POINT_TBL p1, POINT_TBL p2
60-
ORDER BY dist;
60+
ORDER BY dist, point1 using<<, point2 using<<;
6161

6262
SELECT''AS thirty,p1.f1AS point1,p2.f1AS point2
6363
FROM POINT_TBL p1, POINT_TBL p2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp