Do not assume existance of a "publicuser" role

Closes #5
This commit is contained in:
Sandro Santilli 2014-05-08 16:32:26 +02:00
parent 0f67b31272
commit 1c753b24e5

View File

@ -1,7 +1,7 @@
create table pub(a int);
create table prv(a int);
GRANT SELECT ON TABLE pub TO publicuser;
REVOKE SELECT ON TABLE prv FROM publicuser;
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;