Difference between revisions of "GRANT SELECT ON DATABASE"
Jump to navigation
Jump to search
m (Ant moved page GRANT SELECT ON to GRANT SELECT ON DATABASE) |
|||
Line 5: | Line 5: | ||
[[Invalid privilege type]] | [[Invalid privilege type]] | ||
+ | |||
+ | GRANT SELECT ON ALL TABLES IN SCHEMA public TO user1; | ||
+ | ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO user; | ||
== See also == | == See also == |
Revision as of 15:38, 15 December 2022
GRANT SELECT ON DATABASE "yourdbname" to yourusername; Invalid privilege type
GRANT SELECT ON ALL TABLES IN SCHEMA public TO user1;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO user;
See also
Advertising: