提交 24df496d 编写于 作者: B bzhaoopenstack 提交者: Paul Guo

Fix user specify in matview_ao test

This patch will create a test role to exec the test.
上级 1ee9998b
CREATE ROLE matview_ao_role;
SET ROLE matview_ao_role;
CREATE TABLE t_matview_ao (id int NOT NULL PRIMARY KEY, type text NOT NULL, amt numeric NOT NULL);
INSERT INTO t_matview_ao VALUES
(1, 'x', 2),
......@@ -105,23 +107,23 @@ SELECT * FROM m_aocs;
(3 rows)
\dm m_heap
List of relations
Schema | Name | Type | Owner
--------+--------+-------------------+---------
public | m_heap | materialized view | gpadmin
List of relations
Schema | Name | Type | Owner
--------+--------+-------------------+-----------------
public | m_heap | materialized view | matview_ao_role
(1 row)
\dm m_ao
List of relations
Schema | Name | Type | Owner
--------+------+-------------------+---------
public | m_ao | materialized view | gpadmin
List of relations
Schema | Name | Type | Owner
--------+------+-------------------+-----------------
public | m_ao | materialized view | matview_ao_role
(1 row)
\dm m_aocs
List of relations
Schema | Name | Type | Owner
--------+--------+-------------------+---------
public | m_aocs | materialized view | gpadmin
List of relations
Schema | Name | Type | Owner
--------+--------+-------------------+-----------------
public | m_aocs | materialized view | matview_ao_role
(1 row)
CREATE ROLE matview_ao_role;
SET ROLE matview_ao_role;
CREATE TABLE t_matview_ao (id int NOT NULL PRIMARY KEY, type text NOT NULL, amt numeric NOT NULL);
INSERT INTO t_matview_ao VALUES
(1, 'x', 2),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册