Difference between revisions of "PostgreSQL read only user"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
  
 
* <code>[[CREATE ROLE]] my_username WITH LOGIN PASSWORD '123456'</code>
 
* <code>[[CREATE ROLE]] my_username WITH LOGIN PASSWORD '123456'</code>
 
+
* <code>GRANT [[pg_read_all_data]], [[pg_monitor]] TO xxx;</code>
* GRANT [[pg_read_all_data]], [[pg_monitor]] TO xxx;
 
  
 
== See also ==
 
== See also ==

Revision as of 16:16, 20 September 2024

Advertising: