I am logged into my database as superuser postgres
.
postgres=# SELECT * FROM pg_user;
+----------+----------+-------------+----------+---------+--------------+----------+----------+-----------+
| usename | usesysid | usecreatedb | usesuper | userepl | usebypassrls | passwd | valuntil | useconfig |
+----------+----------+-------------+----------+---------+--------------+----------+----------+-----------+
| postgres | 10 | t | t | t | t | ******** | (null;) | (null;) |
| test | 24763 | f | f | f | f | ******** | (null;) | (null;) |
+----------+----------+-------------+----------+---------+--------------+----------+----------+-----------+
(2 rows)
I have listed all users in the database. How can I get the password for the plain user test
?