psql: list users
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=#