postgresql list users and passwords code example
Example 1: create password for user in postgres
ALTER USER davide WITH PASSWORD 'hu8jmn3';
Example 2: postgresql list users
postgres=# \du
ALTER USER davide WITH PASSWORD 'hu8jmn3';
postgres=# \du