For me enter with a specific database and user that I know the password and change the password with
\password postgres