I'm trying to reset my lost password for Postgres v9.1 (windows 7) like written at https://wiki.postgresql.org/wiki/FAQ#I_lost_the_database_password._What_can_I_do_to_recover_it.3F :
1. edit pg_hba.conf to allow trust authorization temporarily
In pg_hba.conf I've put :
local all all trust
host all all 127.0.0.1/32 trust
2. Reload the config file (pg_ctl reload)
Done. I have also restarted the Postgres service (via services.msc)
3. Connect and issue ALTER ROLE / PASSWORD to set the new password
Then I execute 'psql.exe' but it asks me for a password !
Why ? Thanks for your help.