Skip to content

Instantly share code, notes, and snippets.

@sabahtalateh
Created December 21, 2016 13:34
Show Gist options
  • Save sabahtalateh/e9387fc01bae4b8dabf95ea514210309 to your computer and use it in GitHub Desktop.
Save sabahtalateh/e9387fc01bae4b8dabf95ea514210309 to your computer and use it in GitHub Desktop.
change grant after restore
REVOKE ALL
ON ALL TABLES IN SCHEMA public
FROM PUBLIC;
GRANT SELECT, INSERT, UPDATE, DELETE
ON ALL TABLES IN SCHEMA public
TO user_name;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment