Created
May 1, 2017 20:07
-
-
Save graphbear/62b52585f9284cd375712e4b52255619 to your computer and use it in GitHub Desktop.
table grants
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- http://stackoverflow.com/questions/7336413/query-grants-for-a-table-in-postgres | |
SELECT grantee, privilege_type | |
FROM information_schema.role_table_grants | |
WHERE table_name='mytable' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment