Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
838fb5c2
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,发现更多精彩内容 >>
提交
838fb5c2
编写于
11月 23, 1999
作者:
T
Tom Lane
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update for change of 'duplicate key' message.
上级
b04bdf12
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
26 addition
and
17 deletion
+26
-17
src/test/regress/expected/plpgsql.out
src/test/regress/expected/plpgsql.out
+16
-16
src/test/regress/expected/sanity_check.out
src/test/regress/expected/sanity_check.out
+10
-1
未找到文件。
src/test/regress/expected/plpgsql.out
浏览文件 @
838fb5c2
...
...
@@ -973,7 +973,7 @@ QUERY: insert into PSlot values ('PS.1st.d6', 'PF1_1', '', 'WS.106.3b');
QUERY: update PSlot set backlink = 'WS.001.1a' where slotname = 'PS.base.a1';
QUERY: update PSlot set backlink = 'WS.001.1b' where slotname = 'PS.base.a3';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a3
...
...
@@ -984,7 +984,7 @@ WS.001.3b |001 | |
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |
...
...
@@ -996,7 +996,7 @@ PS.base.a6 |PF0_1 | |
QUERY: update PSlot set backlink = 'WS.001.2a' where slotname = 'PS.base.a3';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |
...
...
@@ -1007,7 +1007,7 @@ WS.001.3b |001 | |
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |
...
...
@@ -1019,7 +1019,7 @@ PS.base.a6 |PF0_1 | |
QUERY: update PSlot set backlink = 'WS.001.1b' where slotname = 'PS.base.a2';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a2
...
...
@@ -1030,7 +1030,7 @@ WS.001.3b |001 | |
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |WS.001.1b
...
...
@@ -1043,7 +1043,7 @@ PS.base.a6 |PF0_1 | |
QUERY: update WSlot set backlink = 'PS.base.a4' where slotname = 'WS.001.2b';
QUERY: update WSlot set backlink = 'PS.base.a6' where slotname = 'WS.001.3a';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a2
...
...
@@ -1054,7 +1054,7 @@ WS.001.3b |001 | |
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |WS.001.1b
...
...
@@ -1066,7 +1066,7 @@ PS.base.a6 |PF0_1 | |WS.001.3a
QUERY: update WSlot set backlink = 'PS.base.a6' where slotname = 'WS.001.3b';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a2
...
...
@@ -1077,7 +1077,7 @@ WS.001.3b |001 | |PS.base.a6
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |WS.001.1b
...
...
@@ -1089,7 +1089,7 @@ PS.base.a6 |PF0_1 | |WS.001.3b
QUERY: update WSlot set backlink = 'PS.base.a5' where slotname = 'WS.001.3a';
QUERY: select * from WSlot where roomno = '001' order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a2
...
...
@@ -1100,7 +1100,7 @@ WS.001.3b |001 | |PS.base.a6
(6 rows)
QUERY: select * from PSlot where slotname ~ 'PS.base.a' order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.base.a1 |PF0_1 | |WS.001.1a
PS.base.a2 |PF0_1 | |WS.001.1b
...
...
@@ -1125,7 +1125,7 @@ QUERY: insert into PSlot values ('PS.1st.tb5', 'PF1_2', '', '');
QUERY: insert into PSlot values ('PS.1st.tb6', 'PF1_2', '', '');
QUERY: update PField set name = 'PF0_2' where name = 'PF0_X';
QUERY: select * from PSlot order by slotname;
slotname |pfname|
slotlink
|backlink
slotname |pfname|
slotlink
|backlink
--------------------+------+--------------------+--------------------
PS.1st.a1 |PF1_1 | |WS.101.1a
PS.1st.a2 |PF1_1 | |WS.101.1b
...
...
@@ -1196,7 +1196,7 @@ PS.base.tb6 |PF0_2 | |
(66 rows)
QUERY: select * from WSlot order by slotname;
slotname |
roomno| slotlink
|backlink
slotname |
roomno |slotlink
|backlink
--------------------+--------+--------------------+--------------------
WS.001.1a |001 | |PS.base.a1
WS.001.1b |001 | |PS.base.a2
...
...
@@ -1315,7 +1315,7 @@ PF0_2 |PS.base.tb6 |Phone line -122 |-
(12 rows)
QUERY: insert into PField values ('PF1_1', 'should fail due to unique index');
ERROR: Cannot insert a duplicate key into
a unique index
ERROR: Cannot insert a duplicate key into
unique index pfield_name
QUERY: update PSlot set backlink = 'WS.not.there' where slotname = 'PS.base.a1';
ERROR: WS.not.there does not exists
QUERY: update PSlot set backlink = 'XX.illegal' where slotname = 'PS.base.a1';
...
...
@@ -1325,7 +1325,7 @@ ERROR: PS.not.there does not exists
QUERY: update PSlot set slotlink = 'XX.illegal' where slotname = 'PS.base.a1';
ERROR: illegal slotlink beginning with XX
QUERY: insert into HSlot values ('HS', 'base.hub1', 1, '');
ERROR: Cannot insert a duplicate key into
a unique index
ERROR: Cannot insert a duplicate key into
unique index hslot_name
QUERY: insert into HSlot values ('HS', 'base.hub1', 20, '');
ERROR: no manual manipulation of HSlot
QUERY: delete from HSlot;
...
...
src/test/regress/expected/sanity_check.out
浏览文件 @
838fb5c2
...
...
@@ -16,19 +16,28 @@ hash_name_heap|t
hash_txt_heap |t
ihighway |t
onek |t
pg_aggregate |t
pg_am |t
pg_amop |t
pg_attrdef |t
pg_attribute |t
pg_class |t
pg_description|t
pg_group |t
pg_index |t
pg_inherits |t
pg_language |t
pg_listener |t
pg_opclass |t
pg_operator |t
pg_proc |t
pg_relcheck |t
pg_rewrite |t
pg_trigger |t
pg_type |t
road |t
shighway |t
tenk1 |t
tenk2 |t
(
25
rows)
(
34
rows)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录