Prova questo:
Open PgAdmin -> Files -> Open pgpass.conf
Otterresti il percorso di pgpass.conf
nella parte inferiore della finestra. Vai in quella posizione e apri questo file, puoi trovare la tua password lì.
Se quanto sopra non funziona, potresti considerare di provare questo:
1. edit pg_hba.conf to allow trust authorization temporarily
2. Reload the config file (pg_ctl reload)
3. Connect and issue ALTER ROLE / PASSWORD to set the new password
4. edit pg_hba.conf again and restore the previous settings
5. Reload the config file again