Difference between revisions of "ERROR: permission denied for relation"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
<code>SELECT grantee, privilege_type FROM information_schema.role_table_grants WHERE table_name='mytable';</code>
 
<code>SELECT grantee, privilege_type FROM information_schema.role_table_grants WHERE table_name='mytable';</code>
  
SELECT grantor, grantee, table_schema, table_name, privilege_type FROM information_schema.table_privileges WHERE grantee = 'myuser'
+
SELECT grantor, grantee, table_schema, table_name, privilege_type FROM information_schema.table_privileges WHERE grantee = 'myuser'
  
 
== See also ==
 
== See also ==

Revision as of 11:50, 27 September 2022

Advertising: