You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
421 B
12 lines
421 B
create table pub(a int);
|
|
create table prv(a int);
|
|
GRANT SELECT ON TABLE pub TO public;
|
|
REVOKE SELECT ON TABLE prv FROM public;
|
|
SELECT CDB_UserTables() ORDER BY 1;
|
|
SELECT 'all',CDB_UserTables('all') ORDER BY 2;
|
|
SELECT 'public',CDB_UserTables('public') ORDER BY 2;
|
|
SELECT 'private',CDB_UserTables('private') ORDER BY 2;
|
|
SELECT '--unsupported--',CDB_UserTables('--unsupported--') ORDER BY 2;
|
|
drop table pub;
|
|
drop table prv;
|