Allow use of sequences for inserts or reads.

Section: Security, Grants, and Default Privileges

Grant sequence usage

sql
sql
GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO appuser;
Explanation

See summary for usage details.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Security, Grants, and Default Privileges
Grant table select
Allow read access to a table.
OpenIn sheetsqlsame section
Grant schema usage
Allow object lookup inside a schema.
OpenIn sheetsqlsame section
Alter default privileges
Set permissions that future objects should inherit.
OpenIn sheetsqlsame section
Revoke update privilege
Remove write capability from a role.
OpenIn sheetsqlsame section
Change object owner
Transfer ownership of an object to another role.
OpenIn sheetsqlsame section
Set active role
Temporarily assume another role for the session.
OpenIn sheetsqlsame section