After changing to user postgres, I tried to launch psql shell as a new user ( -U). However the error message I received after I used an incorrect password was incorrect. It was saying that I had tried to wrong database. Is this correct?
Yes, this is working as documented. If you don’t like which database name is inferred specify one yourself.