Difference between revisions of "GRANT USAGE"

From wikieduonline
Jump to navigation Jump to search
 
(24 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
https://www.postgresql.org/docs/14/sql-grant.html
 
https://www.postgresql.org/docs/14/sql-grant.html
 +
* <code>[[GRANT]]</code> USAGE
 +
* [[Amazon Redshift: GRANT]]
 +
 +
== Examples ==
 +
<code>GRANT USAGE ON [[ALL SEQUENCES]] IN [[SCHEMA]] your_schema TO your_role_group;</code><ref>https://stackoverflow.com/a/10353730</ref>
  
* <code>[[GRANT]]</code>
+
<code>[[GRANT USAGE ON]] [[SCHEMA]] your_schema TO [[GROUP]] your_role_group;</code>
* [[Amazon Redshift: GRANT]]
 
  
 +
[[GRANT USAGE ON SCHEMA]] your_schema TO your_role;
 +
GRANT
  
GRANT USAGE ON [[ALL SEQUENCES]] IN [[SCHEMA]] your_schema TO your_group;<ref>https://stackoverflow.com/a/10353730</ref>
 
  
  [[GRANT USAGE ON]] [[SCHEMA]] your_schema TO [[GROUP]] your_group;
+
  [[grant usage on foreign data wrapper]] [[postgres_fdw]] to <USERNAME>;
  
 
== Related ==
 
== Related ==
 
* [[PostgreSQL: Database roles]]
 
* [[PostgreSQL: Database roles]]
 +
* <code>[[GRANT]] your_defined_role TO your_username;</code>
 +
* <code>[[GRANT SELECT]]</code>
 +
* <code>[[GRANT CONNECT]]</code>
 +
* [[GRANT USAGE, SELECT, UPDATE ON]]
 +
* <code>[[GRANT ALL]]</code>
 +
* <code>[[CREATE SCHEMA]]</code>
 +
* <code>[[grant assumerole]]</code>
 +
* <code>[[GRANT ALL PRIVILEGES ON DATABASE]]</code>
 +
 +
== Activities ==
 +
* [[Amazon Redshift: grant read only privileges to user]]
  
 
== See also ==
 
== See also ==
 +
* {{GRANT USAGE}}
 
* {{GRANT}}
 
* {{GRANT}}
  
 
[[Category:Databases]]
 
[[Category:Databases]]

Latest revision as of 08:15, 23 July 2024

Advertising: