Difference between revisions of "GRANT SELECT"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
=== PostgreSQL ===
 
=== PostgreSQL ===
 
* <code>[[GRANT SELECT ON ALL TABLES]] IN [[SCHEMA]] your_schema TO your_user;</code>
 
* <code>[[GRANT SELECT ON ALL TABLES]] IN [[SCHEMA]] your_schema TO your_user;</code>
* <code>[[GRANT SELECT ON ALL TABLES]] IN [[SCHEMA]] [[public]] TO your_user;</code>
+
* <code>[[GRANT SELECT ON ALL TABLES IN SCHEMA public TO your_user;]]</code>
  
 
=== [https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html Amazon RedShift] ===
 
=== [https://docs.aws.amazon.com/redshift/latest/dg/r_GRANT-examples.html Amazon RedShift] ===
Line 22: Line 22:
 
* [[Amazon Redshift]]: <code>[[has_table_privilege]]</code>
 
* [[Amazon Redshift]]: <code>[[has_table_privilege]]</code>
 
* [[GRANT ALL PRIVILEGES ON]]
 
* [[GRANT ALL PRIVILEGES ON]]
[[GRANT EXECUTE]] ON ALL FUNCTIONS IN SCHEMA public TO user;
+
* <code>[[GRANT EXECUTE]] ON ALL FUNCTIONS IN SCHEMA public TO user;</code>
 +
* <code>[[community.postgresql.postgresql_privs]]</code>
  
[[community.postgresql.postgresql_privs]]
+
 
 +
== Errors ==
 +
* [[ERROR: permission denied for schema public]]
  
 
== Activities ==
 
== Activities ==

Latest revision as of 15:50, 5 July 2023

Advertising: