Do not assume existance of a "publicuser" role in CDB_UserTables

Closes #5 (take 2)
This commit is contained in:
Sandro Santilli
2014-05-08 16:42:38 +02:00
parent 1c753b24e5
commit 055efe04aa

View File

@@ -22,7 +22,7 @@ AS $$
'spatial_ref_sys'
)
), perms AS (
SELECT t, has_table_privilege('publicuser', 'public'||'.'||t, 'SELECT') as p
SELECT t, has_table_privilege('public', 'public'||'.'||t, 'SELECT') as p
FROM usertables
)
SELECT t FROM perms