psql: list users 

Joined:
04/07/2009
Posts:
135

July 12, 2010 18:41:26    Last update: July 12, 2010 18:41:26
Use the \dg command to list users:
postgres=# \dg
            List of roles
 Role name | Attributes  | Member of 
-----------+-------------+-----------
 boss      |             | {}
 postgres  | Superuser   | {}
           : Create role   
           : Create DB     

postgres=# 

Share |
| Comment  | Tags