2
我正在與團體,模式,默認權限的Redshit授予戰鬥。 當我嘗試檢查一切是正確使用HAS_TABLE_PRIVILEGE重新安置授權驗證HAS_TABLE_PRIVILEGE失敗
select tablename,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'select') as select,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'insert') as insert,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'update') as update,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'delete') as delete,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'references') as references
from pg_tables
where schemaname='datalab'
order by tablename
我得到這個:
An error occurred when executing the SQL command:
select tablename,
HAS_TABLE_PRIVILEGE('analyst', tablename, 'select') as select,
HAS_TABLE_PRIVILEGE('analyst', tablena...
[Amazon](500310) Invalid operation: relation "dss__transaction" does not exist;
Execution time: 0.2s
1 statement failed.
到底發生在這裏?