Difference between revisions of "GRANT SELECT ON DATABASE"
Jump to navigation
Jump to search
(10 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
− | GRANT SELECT ON DATABASE "yourdbname" to yourusername; | + | [[GRANT SELECT]] ON DATABASE "yourdbname" to yourusername; |
+ | [[Invalid privilege type]] | ||
+ | == Related == | ||
+ | * <code>[[GRANT SELECT ON ALL TABLES]] IN SCHEMA public TO user1;</code> | ||
+ | * <code>ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO user;</code> | ||
== See also == | == See also == | ||
* {{GRANT SELECT}} | * {{GRANT SELECT}} | ||
* {{GRANT}} | * {{GRANT}} | ||
+ | |||
+ | [[Category:DB]] |
Latest revision as of 10:34, 16 December 2022
GRANT SELECT ON DATABASE "yourdbname" to yourusername; Invalid privilege type
Related[edit]
GRANT SELECT ON ALL TABLES IN SCHEMA public TO user1;
ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT SELECT ON TABLES TO user;
See also[edit]
Advertising: