Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8bb56910
Commit
8bb56910
authored
Sep 20, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change ORDER BY to get consistant results with new sorting routines.
parent
d8ec5180
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
src/test/regress/sql/geometry.sql
src/test/regress/sql/geometry.sql
+1
-1
src/test/regress/sql/horology.sql
src/test/regress/sql/horology.sql
+2
-2
src/test/regress/sql/point.sql
src/test/regress/sql/point.sql
+1
-1
No files found.
src/test/regress/sql/geometry.sql
View file @
8bb56910
...
...
@@ -144,5 +144,5 @@ SELECT '' AS two, circle(f1)
SELECT
''
AS
twentyfour
,
c1
.
f1
AS
circle
,
p1
.
f1
AS
point
,
(
p1
.
f1
<->
c1
.
f1
)
AS
distance
FROM
CIRCLE_TBL
c1
,
POINT_TBL
p1
WHERE
(
p1
.
f1
<->
c1
.
f1
)
>
0
ORDER
BY
distance
,
circle
;
ORDER
BY
distance
,
circle
,
point
using
<<
;
src/test/regress/sql/horology.sql
View file @
8bb56910
...
...
@@ -21,12 +21,12 @@ SELECT '' AS ten, f1 AS datetime
SELECT
''
AS
hundred
,
d
.
f1
AS
datetime
,
t
.
f1
AS
timespan
,
d
.
f1
+
t
.
f1
AS
plus
FROM
TEMP_DATETIME
d
,
TIMESPAN_TBL
t
ORDER
BY
plus
;
ORDER
BY
plus
,
datetime
,
timespan
;
SELECT
''
AS
hundred
,
d
.
f1
AS
datetime
,
t
.
f1
AS
timespan
,
d
.
f1
-
t
.
f1
AS
minus
FROM
TEMP_DATETIME
d
,
TIMESPAN_TBL
t
WHERE
isfinite
(
d
.
f1
)
ORDER
BY
minus
;
ORDER
BY
minus
,
datetime
,
timespan
;
SELECT
''
AS
ten
,
d
.
f1
AS
datetime
,
'1980-01-06 00:00 GMT'
::
datetime
AS
gpstime_zero
,
d
.
f1
-
'1980-01-06 00:00 GMT'
::
datetime
AS
difference
...
...
src/test/regress/sql/point.sql
View file @
8bb56910
...
...
@@ -57,7 +57,7 @@ SET geqo TO 'off';
SELECT
''
AS
thirtysix
,
p1
.
f1
AS
point1
,
p2
.
f1
AS
point2
,
p1
.
f1
<->
p2
.
f1
AS
dist
FROM
POINT_TBL
p1
,
POINT_TBL
p2
ORDER
BY
dist
;
ORDER
BY
dist
,
point1
using
<<
,
point2
using
<<
;
SELECT
''
AS
thirty
,
p1
.
f1
AS
point1
,
p2
.
f1
AS
point2
FROM
POINT_TBL
p1
,
POINT_TBL
p2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment