Difference between revisions of "GRANT USAGE"

From wikieduonline
Jump to navigation Jump to search
 
(8 intermediate revisions by 3 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
* <code>[[GRANT]]</code>
 
 
* [[Amazon Redshift: GRANT]]
 
* [[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>
  
GRANT USAGE ON [[ALL SEQUENCES]] IN [[SCHEMA]] your_schema TO your_role_group;<ref>https://stackoverflow.com/a/10353730</ref>
+
<code>[[GRANT USAGE ON]] [[SCHEMA]] your_schema TO [[GROUP]] your_role_group;</code>
 
 
[[GRANT USAGE ON]] [[SCHEMA]] your_schema TO [[GROUP]] your_role_group;
 
  
 
  [[GRANT USAGE ON SCHEMA]] your_schema TO your_role;
 
  [[GRANT USAGE ON SCHEMA]] your_schema TO your_role;
Line 13: Line 12:
  
  
 
+
[[grant usage on foreign data wrapper]] [[postgres_fdw]] to <USERNAME>;
  
 
== Related ==
 
== Related ==
Line 22: Line 21:
 
* <code>[[CREATE SCHEMA]]</code>
 
* <code>[[CREATE SCHEMA]]</code>
 
* <code>[[grant assumerole]]</code>
 
* <code>[[grant assumerole]]</code>
 +
* <code>[[GRANT ALL PRIVILEGES ON DATABASE]]</code>
 +
* <code>[[GRANT CONNECT]]</code>
  
 
== Activities ==
 
== Activities ==
Line 27: Line 28:
  
 
== See also ==
 
== See also ==
 +
* {{GRANT USAGE}}
 
* {{GRANT}}
 
* {{GRANT}}
  
 
[[Category:Databases]]
 
[[Category:Databases]]

Latest revision as of 07:40, 13 July 2023

Advertising: