Difference between revisions of "GRANT SELECT"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user 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 24: Line 24:
 
* <code>[[GRANT EXECUTE]] ON ALL FUNCTIONS IN SCHEMA public TO user;</code>
 
* <code>[[GRANT EXECUTE]] ON ALL FUNCTIONS IN SCHEMA public TO user;</code>
 
* <code>[[community.postgresql.postgresql_privs]]</code>
 
* <code>[[community.postgresql.postgresql_privs]]</code>
 +
 +
 +
== Errors ==
 +
* [[ERROR: permission denied for schema public]]
  
 
== Activities ==
 
== Activities ==

Latest revision as of 15:50, 5 July 2023

Advertising: