I just installed PostgreSQL 13 on Windows 11. When I run the command psql
by default it uses the user aaron
, the name of my Windows user account. However, it asks me for a password. I have tried all passwords associated with my Windows account as well as the default password I set for the user postgres
, none of which worked. I was able to log in with psql -U postgres
, and I ran the command \du
, and there was only one role in the list, postgres
. Later I created the role aaron
without specifying a password, but it still asks for a password.
So, did the user aaron
exist initially or not? If not, then how was it the default user when I ran the psql
command? What is the password for this user?