Mostrar Usuarios y roles existentes en postgres
Posted on Wed 24 October 2012 in Sistemas
Se utiliza \du
$ sudo su - postgres
$ psql
postgres=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------+-----------
openerp | Superuser, Create role, Create DB, Replication | {}
postgres | Superuser, Create role, Create DB, Replication | {}
postgres=#