change user psql code example
Example 1: alter user password postgres
ALTER USER user_name WITH PASSWORD 'new_password';
Example 2: psql create user
# https://www.postgresql.org/docs/8.0/sql-createuser.html
CREATE USER <username> WITH PASSWORD '<password>' VALID UNTIL '<date here>';