Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
e4b27f2a
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,发现更多精彩内容 >>
提交
e4b27f2a
编写于
9月 13, 1997
作者:
T
Thomas G. Lockhart
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Make tests match with modified error messages.
上级
aeecb4e5
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
13 addition
and
51 deletion
+13
-51
src/test/regress/expected/errors.out
src/test/regress/expected/errors.out
+0
-28
src/test/regress/expected/float4.out
src/test/regress/expected/float4.out
+5
-9
src/test/regress/expected/float8.out
src/test/regress/expected/float8.out
+8
-14
未找到文件。
src/test/regress/expected/errors.out
浏览文件 @
e4b27f2a
...
...
@@ -2,7 +2,6 @@ QUERY: select 1
select
select * from nonesuch;
WARN:parser: parse error at or near "select"
QUERY: select nonesuch from pg_database;
WARN:attribute "nonesuch" not found
QUERY: select * from pg_database where nonesuch = pg_database.datname;
...
...
@@ -11,22 +10,18 @@ QUERY: select * from pg_database where pg_database.datname = nonesuch;
WARN:attribute "nonesuch" not found
QUERY: select distinct on foobar from pg_database;
WARN:parser: parse error at or near "from"
QUERY: select distinct on foobar * from pg_database;
WARN:The field specified in the UNIQUE ON clause is not in the targetlist
QUERY: delete from;
WARN:parser: parse error at or near ";"
QUERY: delete from nonesuch;
WARN:nonesuch: Table does not exist.
QUERY: drop table;
WARN:parser: parse error at or near ";"
QUERY: drop table nonesuch;
WARN:Relation nonesuch Does Not Exist!
QUERY: alter table rename;
WARN:parser: parse error at or near "rename"
QUERY: alter table nonesuch rename to newnonesuch;
WARN:renamerel: relation "nonesuch" does not exist
QUERY: alter table nonesuch rename to stud_emp;
...
...
@@ -85,62 +80,46 @@ QUERY: create aggregate newcnt1 (sfunc2 = int4inc,
WARN:AggregateCreate: transition function 2 MUST have an initial value
QUERY: drop index;
WARN:parser: parse error at or near ";"
QUERY: drop index 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop index nonesuch;
WARN:index "nonesuch" nonexistent
QUERY: drop aggregate;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop aggregate nonesuch;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate newcnt1;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate newcnt nonesuch;
WARN:RemoveAggregate: type 'nonesuch' does not exist
QUERY: drop aggregate newcnt float4;
WARN:RemoveAggregate: aggregate 'newcnt' for 'float4' does not exist
QUERY: drop function ();
WARN:parser: parse error at or near "("
QUERY: drop function 314159();
WARN:parser: parse error at or near "314159"
QUERY: drop function nonesuch();
WARN:RemoveFunction: function nonesuch() does not exist
QUERY: drop type;
WARN:parser: parse error at or near ";"
QUERY: drop type 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop type nonesuch;
WARN:RemoveType: type 'nonesuch' does not exist
QUERY: drop operator;
WARN:parser: parse error at or near ";"
QUERY: drop operator equals;
WARN:parser: parse error at or near "equals"
QUERY: drop operator ===;
WARN:parser: parse error at or near ";"
QUERY: drop operator int4, int4;
WARN:parser: parse error at or near "int4"
QUERY: drop operator (int4, int4);
WARN:parser: parse error at or near "("
QUERY: drop operator === ();
WARN:parser: parse error at or near ")"
QUERY: drop operator === (int4);
WARN:parser: argument type missing (use NONE for unary operators)
QUERY: drop operator === (int4, int4);
...
...
@@ -149,28 +128,21 @@ QUERY: drop operator = (nonesuch);
WARN:parser: argument type missing (use NONE for unary operators)
QUERY: drop operator = ( , int4);
WARN:parser: parse error at or near ","
QUERY: drop operator = (nonesuch, int4);
WARN:RemoveOperator: type 'nonesuch' does not exist
QUERY: drop operator = (int4, nonesuch);
WARN:RemoveOperator: type 'nonesuch' does not exist
QUERY: drop operator = (int4, );
WARN:parser: parse error at or near ")"
QUERY: drop rule;
WARN:parser: parse error at or near ";"
QUERY: drop rule 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop rule nonesuch;
WARN:RewriteGetRuleEventRel: rule "nonesuch" not found
QUERY: drop tuple rule nonesuch;
WARN:parser: parse error at or near "tuple"
QUERY: drop instance rule nonesuch;
WARN:parser: parse error at or near "instance"
QUERY: drop rewrite rule nonesuch;
WARN:parser: parse error at or near "rewrite"
src/test/regress/expected/float4.out
浏览文件 @
e4b27f2a
...
...
@@ -5,17 +5,13 @@ QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-34.84');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('1.2345678901234e+20');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('1.2345678901234e-20');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('10e40');
WARN: Bad float4 input format -- overflow
WARN:Bad float4 input format -- overflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-10e40');
WARN: Bad float4 input format -- overflow
WARN:Bad float4 input format -- overflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('10e-40');
WARN: Bad float4 input format -- underflow
WARN:Bad float4 input format -- underflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-10e-40');
WARN: Bad float4 input format -- underflow
WARN:Bad float4 input format -- underflow
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
five|f1
----+-----------
...
...
@@ -112,7 +108,7 @@ three|f1 |x
(3 rows)
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT4_TBL f;
WARN:float4div:
divide by 0.0
error
WARN:float4div:
divide by zero
error
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
five|f1
----+-----------
...
...
src/test/regress/expected/float8.out
浏览文件 @
e4b27f2a
...
...
@@ -5,17 +5,13 @@ QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-34.84');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('10e400');
WARN: Bad float8 input format
WARN:Bad float8 input format '10e400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e400');
WARN: Bad float8 input format
WARN:Bad float8 input format '-10e400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('10e-400');
WARN: Bad float8 input format
WARN:Bad float8 input format '10e-400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e-400');
WARN: Bad float8 input format
WARN:Bad float8 input format '-10e-400'
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
five|f1
----+--------------------
...
...
@@ -199,13 +195,11 @@ QUERY: UPDATE FLOAT8_TBL
SET f1 = FLOAT8_TBL.f1 * '-1'
WHERE FLOAT8_TBL.f1 > '0.0';
QUERY: SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f;
WARN: Bad float8 input format -- overflow
WARN:Bad float8 input format -- overflow
QUERY: SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
WARN:pow() returned a floating point out of the range
WARN:pow() result is out of range
QUERY: SELECT '' AS bad, (; (f.f1)) from FLOAT8_TBL f where f.f1 = '0.0' ;
WARN:can't take log of
0!
WARN:can't take log of
zero
QUERY: SELECT '' AS bad, (; (f.f1)) from FLOAT8_TBL f where f.f1 < '0.0' ;
WARN:can't take log of a negative number
QUERY: SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f;
...
...
@@ -219,7 +213,7 @@ bad| ?column?
(5 rows)
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f;
WARN:float8div:
divide by 0.0
error
WARN:float8div:
divide by zero
error
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
five|f1
----+---------------------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录