Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
622af87f
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
622af87f
编写于
7月 29, 1997
作者:
T
Thomas G. Lockhart
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Results from initial changes to add new functions and for bug fixes.
Not all cleaned up yet.
上级
3d5dd9bd
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
673 addition
and
634 deletion
+673
-634
src/test/regress/expected/abstime.out
src/test/regress/expected/abstime.out
+12
-12
src/test/regress/expected/circle.out
src/test/regress/expected/circle.out
+2
-2
src/test/regress/expected/horology.out
src/test/regress/expected/horology.out
+20
-20
src/test/regress/expected/lseg.out
src/test/regress/expected/lseg.out
+1
-1
src/test/regress/expected/point.out
src/test/regress/expected/point.out
+15
-15
src/test/regress/expected/polygon.out
src/test/regress/expected/polygon.out
+3
-3
src/test/regress/expected/reltime.out
src/test/regress/expected/reltime.out
+45
-45
src/test/regress/expected/select_views.out
src/test/regress/expected/select_views.out
+575
-536
未找到文件。
src/test/regress/expected/abstime.out
浏览文件 @
622af87f
...
...
@@ -143,17 +143,17 @@ QUERY: SELECT '' AS ten, ABSTIME_TBL.f1 AS abstime, RELTIME_TBL.f1 AS reltime
WHERE (ABSTIME_TBL.f1 + RELTIME_TBL.f1)
< 'Jan 14 14:00:00 1971'::abstime
ORDER BY abstime, reltime;
ten|abstime |reltime
---+----------------------------+-------------
---
|Sat May 10 23:59:12 1947 PST|@ 14 sec
ond
s ago
|Sat May 10 23:59:12 1947 PST|@ 1 min
ute
|Sat May 10 23:59:12 1947 PST|@ 5 hours
|Sat May 10 23:59:12 1947 PST|@ 10 days
|Sat May 10 23:59:12 1947 PST|@ 3 mon
ths
|epoch |@ 14 sec
ond
s ago
|epoch |@ 1 min
ute
|epoch |@ 5 hours
|epoch |@ 10 days
|epoch |@ 3 mon
ths
ten|abstime |reltime
---+----------------------------+-------------
|Sat May 10 23:59:12 1947 PST|@ 14 secs ago
|Sat May 10 23:59:12 1947 PST|@ 1 min
|Sat May 10 23:59:12 1947 PST|@ 5 hours
|Sat May 10 23:59:12 1947 PST|@ 10 days
|Sat May 10 23:59:12 1947 PST|@ 3 mon
s
|epoch |@ 14 secs ago
|epoch |@ 1 min
|epoch |@ 5 hours
|epoch |@ 10 days
|epoch |@ 3 mon
s
(10 rows)
src/test/regress/expected/circle.out
浏览文件 @
622af87f
...
...
@@ -74,9 +74,9 @@ four|f1
|<(100,0),100>
(4 rows)
QUERY: SELECT '' as five, c1.f1 AS one, c2.f1 AS two, (c1.f1 <
===
> c2.f1) AS distance
QUERY: SELECT '' as five, c1.f1 AS one, c2.f1 AS two, (c1.f1 <
-
> c2.f1) AS distance
FROM CIRCLE_TBL c1, CIRCLE_TBL c2
WHERE (c1.f1 < c2.f1) AND ((c1.f1 <
===
> c2.f1) > 0)
WHERE (c1.f1 < c2.f1) AND ((c1.f1 <
-
> c2.f1) > 0)
ORDER BY distance, one, two;
five|one |two | distance
----+--------------+--------------+----------------
...
...
src/test/regress/expected/horology.out
浏览文件 @
622af87f
...
...
@@ -505,30 +505,30 @@ three|abstime |datetime
QUERY: SELECT '' AS ten, f1 AS timespan, reltime( f1) AS reltime
FROM TIMESPAN_TBL;
ten|timespan |reltime
---+-----------------------------+----------------
|@ 1 min |@ 1 min
ute
|@ 5 hours |@ 5 hours
|@ 10 days |@ 10 days
|@ 34 years |@
408 months
|@ 3 mons |@ 3 mon
ths
|@ 14 secs ago |@ 14 sec
onds ago
|@ 1 day 2 hours 3 mins 4 secs|@
93784 seconds
|@ 6 years |@
72 months
|@ 5 mons |@ 5 mon
ths
|@ 5 mons 12 hours |@
3612 hours
ten|timespan |reltime
---+-----------------------------+----------------
-------------
|@ 1 min |@ 1 min
|@ 5 hours |@ 5 hours
|@ 10 days |@ 10 days
|@ 34 years |@
34 years
|@ 3 mons |@ 3 mon
s
|@ 14 secs ago |@ 14 sec
s ago
|@ 1 day 2 hours 3 mins 4 secs|@
1 day 2 hours 3 mins 4 secs
|@ 6 years |@
6 years
|@ 5 mons |@ 5 mon
s
|@ 5 mons 12 hours |@
5 mons 12 hours
(10 rows)
QUERY: SELECT '' AS six, f1 as reltime, timespan( f1) AS timespan
FROM RELTIME_TBL;
six|reltime
|timespan
---+-------------
---
+-------------
|@ 1 min
ute
|@ 1 min
|@ 5 hours
|@ 5 hours
|@ 10 days
|@ 10 days
|@ 34 years
|@ 12410 days
|@ 3 mon
ths |@ 90 days
|@ 14 sec
ond
s ago|@ 14 secs ago
six|reltime |timespan
---+-------------+-------------
|@ 1 min |@ 1 min
|@ 5 hours |@ 5 hours
|@ 10 days |@ 10 days
|@ 34 years
|@ 34 years
|@ 3 mon
s |@ 3 mons
|@ 14 secs ago|@ 14 secs ago
(6 rows)
QUERY: DROP TABLE TEMP_DATETIME;
...
...
src/test/regress/expected/lseg.out
浏览文件 @
622af87f
...
...
@@ -27,7 +27,7 @@ NOTICE:there is no operator <= for types lseg and lseg
NOTICE:You will either have to retype this query using an
NOTICE:explicit cast, or you will have to define the operator
WARN:<= for lseg and lseg using CREATE OPERATOR
QUERY: SELECT * FROM LSEG_TBL WHERE (s <
===
> '[(1,2),(3,4)]'::lseg) < 10;
QUERY: SELECT * FROM LSEG_TBL WHERE (s <
-
> '[(1,2),(3,4)]'::lseg) < 10;
s
------------------
[(1,2),(3,4)]
...
...
src/test/regress/expected/point.out
浏览文件 @
622af87f
...
...
@@ -22,7 +22,7 @@ six|f1
|(10,10)
(6 rows)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE p.f1
!
< '(0.0, 0.0)';
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE p.f1
<
< '(0.0, 0.0)';
three|f1
-----+--------
|(-10,0)
...
...
@@ -30,7 +30,7 @@ three|f1
|(-5,-12)
(3 rows)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE '(0.0,0.0)'
!
> p.f1;
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p WHERE '(0.0,0.0)'
>
> p.f1;
three|f1
-----+--------
|(-10,0)
...
...
@@ -38,26 +38,26 @@ three|f1
|(-5,-12)
(3 rows)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE '(0.0,0.0)'
!
^ p.f1;
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE '(0.0,0.0)'
>
^ p.f1;
one|f1
---+--------
|(-5,-12)
(1 row)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1
!|
'(0.0, 0.0)';
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1
<^
'(0.0, 0.0)';
one|f1
---+--------
|(-5,-12)
(1 row)
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1
=|
= '(5.1, 34.5)';
QUERY: SELECT '' AS one, p.* FROM POINT_TBL p WHERE p.f1
~
= '(5.1, 34.5)';
one|f1
---+----------
|(5.1,34.5)
(1 row)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p
WHERE p.f1
===> '(0,0,100,100)'
;
WHERE p.f1
@ '(0,0,100,100)'::box
;
three|f1
-----+----------
|(0,0)
...
...
@@ -66,7 +66,7 @@ three|f1
(3 rows)
QUERY: SELECT '' AS three, p.* FROM POINT_TBL p
WHERE not
on_pb(p.f1,'(0,0,100,100)'::box)
;
WHERE not
p.f1 @ '(0,0,100,100)'::box
;
three|f1
-----+--------
|(-10,0)
...
...
@@ -75,14 +75,14 @@ three|f1
(3 rows)
QUERY: SELECT '' AS two, p.* FROM POINT_TBL p
WHERE
on_ppath(p.f1,'[(0,0),(-10,0),(-10,10)]'::path)
;
WHERE
p.f1 @ '[(0,0),(-10,0),(-10,10)]'::path
;
two|f1
---+-------
|(0,0)
|(-10,0)
(2 rows)
QUERY: SELECT '' AS six, p.f1, p.f1 <
===
> '(0,0)'::point AS dist
QUERY: SELECT '' AS six, p.f1, p.f1 <
-
> '(0,0)'::point AS dist
FROM POINT_TBL p
ORDER BY dist;
six|f1 | dist
...
...
@@ -96,7 +96,7 @@ six|f1 | dist
(6 rows)
QUERY: SET geqo TO 'off';
QUERY: SELECT '' AS thirtysix, p1.f1 AS point1, p2.f1 AS point2, p1.f1 <
===
> p2.f1 AS dist
QUERY: 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;
thirtysix|point1 |point2 | dist
...
...
@@ -141,7 +141,7 @@ thirtysix|point1 |point2 | dist
QUERY: SELECT '' AS thirty, p1.f1 AS point1, p2.f1 AS point2
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <
===
> p2.f1) > 3;
WHERE (p1.f1 <
-
> p2.f1) > 3;
thirty|point1 |point2
------+----------+----------
|(-10,0) |(0,0)
...
...
@@ -176,9 +176,9 @@ thirty|point1 |point2
|(-5,-12) |(10,10)
(30 rows)
QUERY: SELECT '' AS fifteen, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <
===
> p2.f1) AS distance
QUERY: SELECT '' AS fifteen, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <
-
> p2.f1) AS distance
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <
===> p2.f1) > 3 and p1.f1 !
< p2.f1
WHERE (p1.f1 <
-> p2.f1) > 3 and p1.f1 <
< p2.f1
ORDER BY distance;
fifteen|point1 |point2 | distance
-------+----------+----------+----------------
...
...
@@ -199,9 +199,9 @@ fifteen|point1 |point2 | distance
|(-5,-12) |(5.1,34.5)|47.5842410888311
(15 rows)
QUERY: SELECT '' AS three, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <
===
> p2.f1) AS distance
QUERY: SELECT '' AS three, p1.f1 AS point1, p2.f1 AS point2, (p1.f1 <
-
> p2.f1) AS distance
FROM POINT_TBL p1, POINT_TBL p2
WHERE (p1.f1 <
===> p2.f1) > 3 and p1.f1 !< p2.f1 and p1.f1 !
^ p2.f1
WHERE (p1.f1 <
-> p2.f1) > 3 and p1.f1 << p2.f1 and p1.f1 >
^ p2.f1
ORDER BY distance;
three|point1 |point2 | distance
-----+----------+--------+----------------
...
...
src/test/regress/expected/polygon.out
浏览文件 @
622af87f
...
...
@@ -69,7 +69,7 @@ zero|f1
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 @ '(3.0,1.0),(3.0,3.0),(1.0,0.0)';
WHERE p.f1 @ '(3.0,1.0),(3.0,3.0),(1.0,0.0)'
::polygon
;
one|f1
---+-------------------
|((3,1),(3,3),(1,0))
...
...
@@ -77,7 +77,7 @@ one|f1
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 ~= '(3.0,1.0),(3.0,3.0),(1.0,0.0)';
WHERE p.f1 ~= '(3.0,1.0),(3.0,3.0),(1.0,0.0)'
::polygon
;
one|f1
---+-------------------
|((3,1),(3,3),(1,0))
...
...
@@ -85,7 +85,7 @@ one|f1
QUERY: SELECT '' AS one, p.*
FROM POLYGON_TBL p
WHERE p.f1 ~ '(3.0,1.0),(3.0,3.0),(1.0,0.0)';
WHERE p.f1 ~ '(3.0,1.0),(3.0,3.0),(1.0,0.0)'
::polygon
;
one|f1
---+-------------------
|((3,1),(3,3),(1,0))
...
...
src/test/regress/expected/reltime.out
浏览文件 @
622af87f
...
...
@@ -10,43 +10,43 @@ WARN:Bad reltime external representation 'badly formatted reltime'
QUERY: INSERT INTO RELTIME_TBL (f1) VALUES ('@ 30 eons ago');
WARN:Bad reltime external representation '@ 30 eons ago'
QUERY: SELECT '' AS six, RELTIME_TBL.*;
six|f1
---+-------------
---
|@ 1 min
ute
|@ 5 hours
|@ 10 days
|@ 34 years
|@ 3 mon
ths
|@ 14 sec
ond
s ago
six|f1
---+-------------
|@ 1 min
|@ 5 hours
|@ 10 days
|@ 34 years
|@ 3 mon
s
|@ 14 secs ago
(6 rows)
QUERY: SELECT '' AS five, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 <> '@ 10 days'::reltime;
five|f1
----+-------------
---
|@ 1 min
ute
|@ 5 hours
|@ 34 years
|@ 3 mon
ths
|@ 14 sec
ond
s ago
five|f1
----+-------------
|@ 1 min
|@ 5 hours
|@ 34 years
|@ 3 mon
s
|@ 14 secs ago
(5 rows)
QUERY: SELECT '' AS three, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 <= '@ 5 hours'::reltime;
three|f1
-----+-------------
---
|@ 1 min
ute
|@ 5 hours
|@ 14 sec
ond
s ago
three|f1
-----+-------------
|@ 1 min
|@ 5 hours
|@ 14 secs ago
(3 rows)
QUERY: SELECT '' AS three, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 < '@ 1 day'::reltime;
three|f1
-----+-------------
---
|@ 1 min
ute
|@ 5 hours
|@ 14 sec
ond
s ago
three|f1
-----+-------------
|@ 1 min
|@ 5 hours
|@ 14 secs ago
(3 rows)
QUERY: SELECT '' AS one, RELTIME_TBL.*
...
...
@@ -61,40 +61,40 @@ QUERY: SELECT '' AS two, RELTIME_TBL.*
two|f1
---+----------
|@ 34 years
|@ 3 mon
ths
|@ 3 mon
s
(2 rows)
QUERY: SELECT '' AS five, RELTIME_TBL.*
WHERE RELTIME_TBL.f1 > '@ 3 seconds ago'::reltime;
five|f1
----+----------
|@ 1 min
ute
|@ 1 min
|@ 5 hours
|@ 10 days
|@ 34 years
|@ 3 mon
ths
|@ 3 mon
s
(5 rows)
QUERY: SELECT '' AS fifteen, r1.*, r2.*
FROM RELTIME_TBL r1, RELTIME_TBL r2
WHERE r1.f1 > r2.f1
ORDER BY r1.f1, r2.f1;
fifteen|f1 |f1
-------+----------+-------------
---
|@ 1 min
ute|@ 14 second
s ago
|@ 5 hours |@ 14 sec
ond
s ago
|@ 5 hours |@ 1 min
ute
|@ 10 days |@ 14 sec
ond
s ago
|@ 10 days |@ 1 min
ute
|@ 10 days |@ 5 hours
|@ 3 mon
ths|@ 14 second
s ago
|@ 3 mon
ths|@ 1 minute
|@ 3 mon
ths|@ 5 hours
|@ 3 mon
ths|@ 10 days
|@ 34 years|@ 14 sec
ond
s ago
|@ 34 years|@ 1 min
ute
|@ 34 years|@ 5 hours
|@ 34 years|@ 10 days
|@ 34 years|@ 3 mon
ths
fifteen|f1 |f1
-------+----------+-------------
|@ 1 min
|@ 14 sec
s ago
|@ 5 hours |@ 14 secs ago
|@ 5 hours |@ 1 min
|@ 10 days |@ 14 secs ago
|@ 10 days |@ 1 min
|@ 10 days |@ 5 hours
|@ 3 mon
s |@ 14 sec
s ago
|@ 3 mon
s |@ 1 min
|@ 3 mon
s |@ 5 hours
|@ 3 mon
s |@ 10 days
|@ 34 years|@ 14 secs ago
|@ 34 years|@ 1 min
|@ 34 years|@ 5 hours
|@ 34 years|@ 10 days
|@ 34 years|@ 3 mon
s
(15 rows)
src/test/regress/expected/select_views.out
浏览文件 @
622af87f
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录