Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
a2fc6021
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,发现更多精彩内容 >>
提交
a2fc6021
编写于
10月 21, 2016
作者:
N
Nikos Armenatzoglou
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update answer files
上级
be2c918e
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
src/test/regress/expected/aoco_privileges_optimizer.out
src/test/regress/expected/aoco_privileges_optimizer.out
+2
-2
src/test/regress/expected/domain_optimizer.out
src/test/regress/expected/domain_optimizer.out
+1
-1
src/test/regress/expected/namespace_optimizer.out
src/test/regress/expected/namespace_optimizer.out
+1
-1
src/test/regress/expected/privileges_optimizer.out
src/test/regress/expected/privileges_optimizer.out
+1
-1
src/test/regress/expected/role_optimizer.out
src/test/regress/expected/role_optimizer.out
+1
-1
src/test/regress/output/constraints_optimizer.source
src/test/regress/output/constraints_optimizer.source
+2
-2
未找到文件。
src/test/regress/expected/aoco_privileges_optimizer.out
浏览文件 @
a2fc6021
...
...
@@ -46,7 +46,7 @@ SELECT has_table_privilege('user_with_no_privileges', 'aoco_privileges_table', '
SET ROLE user_with_no_privileges;
SELECT * FROM aoco_privileges_table;
ERROR: permission denied for relation aoco_privileges_table
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
0
)
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
2
)
RESET ROLE;
-- Now change ownership to the new owner
ALTER TABLE aoco_privileges_table OWNER TO new_aoco_table_owner;
...
...
@@ -112,7 +112,7 @@ SELECT has_table_privilege('aoco_privileges_table', 'SELECT');
SELECT * FROM aoco_privileges_table;
ERROR: permission denied for relation aoco_privileges_table
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
0
)
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
2
)
-- Revoke privileges
RESET ROLE;
REVOKE ALL ON aoco_privileges_table FROM user_with_privileges_from_first_owner;
...
...
src/test/regress/expected/domain_optimizer.out
浏览文件 @
a2fc6021
...
...
@@ -158,7 +158,7 @@ create table nulltest
);
INSERT INTO nulltest DEFAULT VALUES;
WARNING: null value in column "col3" violates not-null constraint
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
6
)
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
8
)
INSERT INTO nulltest values ('a', 'b', 'c', 'd', 'c'); -- Good
insert into nulltest values ('a', 'b', 'c', 'd', NULL);
ERROR: domain dcheck does not allow null values
...
...
src/test/regress/expected/namespace_optimizer.out
浏览文件 @
a2fc6021
...
...
@@ -50,7 +50,7 @@ CREATE TABLE test_schema_2.grant_test(a int) DISTRIBUTED BY (a); -- no permissio
ERROR: permission denied for schema test_schema_2
SELECT * FROM test_schema_1.abc; -- no permissions on table
ERROR: permission denied for relation abc
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
0
)
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
2
)
SELECT * FROM test_schema_2.abc; -- no permissions on schema
ERROR: permission denied for schema test_schema_2
LINE 1: SELECT * FROM test_schema_2.abc;
...
...
src/test/regress/expected/privileges_optimizer.out
浏览文件 @
a2fc6021
...
...
@@ -282,7 +282,7 @@ SELECT testfunc1(5); -- fail
ERROR: permission denied for function testfunc1
SELECT col1 FROM atest2 WHERE col2 = true; -- fail
ERROR: permission denied for relation atest2
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
0
)
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
2
)
SELECT testfunc4(true); -- ok
testfunc4
-----------
...
...
src/test/regress/expected/role_optimizer.out
浏览文件 @
a2fc6021
...
...
@@ -99,7 +99,7 @@ revoke all privileges on TABLE t1, t1_view FROM u1;
set role u1;
select * from t1_view order by 1;
ERROR: permission denied for relation t1_view
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
0
)
ERROR: GPDB exception. Aborting PQO plan generation. (CGPOptimizer.cpp:7
2
)
reset role;
drop view t1_view;
drop table t1;
...
...
src/test/regress/output/constraints_optimizer.source
浏览文件 @
a2fc6021
...
...
@@ -318,7 +318,7 @@ INSERT INTO PRIMARY_TBL VALUES (4, 'three');
INSERT INTO PRIMARY_TBL VALUES (5, 'one');
INSERT INTO PRIMARY_TBL (t) VALUES ('six');
WARNING: null value in column "i" violates not-null constraint
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
6
)
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
8
)
SELECT '' AS four, * FROM PRIMARY_TBL;
four | i | t
------+---+-------
...
...
@@ -339,7 +339,7 @@ INSERT INTO PRIMARY_TBL VALUES (4, 'three');
INSERT INTO PRIMARY_TBL VALUES (5, 'one');
INSERT INTO PRIMARY_TBL (t) VALUES ('six');
WARNING: null value in column "i" violates not-null constraint
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
6
)
ERROR: PQO unable to generate plan, please see the above message for details. (CGPOptimizer.cpp:6
8
)
SELECT '' AS three, * FROM PRIMARY_TBL;
three | i | t
-------+---+-------
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录