Guest User

Untitled

a guest
Jan 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. GRANT SELECT
  2. ON ALL SEQUENCES IN SCHEMA schema_name
  3. TO role_name
  4.  
  5. grant select on sequence some_id_sequence in schema public to new_role;
  6.  
  7. select * from information_schema.role_usage_grants ;
  8. ...
  9. (0 rows)
  10.  
  11. live@live ~ => select * from information_schema.role_usage_grants limit 1;
Add Comment
Please, Sign In to add comment