GRANT SELECT
(Redirected from GRANT SELECT ON ALL TABLES IN SCHEMA)
Jump to navigation
Jump to search
GRANT SELECT
in Amazon RedShift and PostgreSQL.
Examples
PostgreSQL
GRANT SELECT ON ALL TABLES IN SCHEMA your_schema TO your_user;
GRANT SELECT ON ALL TABLES IN SCHEMA public TO your_user;
Amazon RedShift
GRANT SELECT ON ALL TABLES IN SCHEMA your_schema TO your_user;
GRANT SELECT ON ALL TABLES IN SCHEMA your_schema TO GROUP your_group;
GRANT SELECT ON mytable TO xxx;
GRANT SELECT ON mytable TO xxx;
[1]
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO xxx;
Related
GRANT USAGE
GRANT SELECT ON
- Amazon Redshift:
has_table_privilege
- GRANT ALL PRIVILEGES ON
GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO user;
community.postgresql.postgresql_privs
Errors
Activities
See also
- SELECT, GRANT SELECT ON, BETWEEN
GRANT
,\ddp
,GRANT USAGE
,GRANT ALL PRIVILEGES
,GRANT SELECT
, View GRANTs on Redshift,has_table_privilege
,has_schema_privilege
,HAS_DATABASE_PRIVILEGE
,SCHEMA
, Privileges,GRANT EXECUTE
Advertising: