Difference between revisions of "PostgreSQL users"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
* <code>select * from [[pg_user]];</code>
 
* <code>select * from [[pg_user]];</code>
 
* [[\du]]
 
* [[\du]]
 
  
 
* <code>[[PostgreSQL: CREATE ROLE|create role]] USERNAME with login password 'PASSWORD';</code>
 
* <code>[[PostgreSQL: CREATE ROLE|create role]] USERNAME with login password 'PASSWORD';</code>
 
  
 
  [[GRANT]] [[pg_read_all_data]] TO xxx;
 
  [[GRANT]] [[pg_read_all_data]] TO xxx;
Line 11: Line 9:
  
 
== Related ==
 
== Related ==
* [[PostgreSQL predefined roles]]
+
* [[PostgreSQL predefined roles]]: <code>[[pg_read_all_data]]</code>
 
* [[PostgreSQL Privileges]]
 
* [[PostgreSQL Privileges]]
 +
* [[PostgreSQL superuser]]
 +
* <code>[[.pgpass]]</code>
  
 
== See also ==
 
== See also ==

Latest revision as of 15:51, 20 September 2024

Advertising: