postgresql - Check Postgres access for a user -



postgresql - Check Postgres access for a user -

i have looked documentation grant found here , trying see if there built-in function can allow me @ level of accessibility have in databases. of course of study there is:

\dp , \dp mytablename

but not show business relationship has access to. see tables have access to. can tell me if there command can check level of access in postgres (whether have select, insert, delete, update privileges)? , if so, command be?

you query table_privileges table in info schema:

select table_catalog, table_schema, table_name, privilege_type information_schema.table_privileges grantee='my_user'

postgresql privileges

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -