On Wednesday, February 12, 2025, PG Doc comments form < nore...@postgresql.org> wrote:
> The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/17/sql-alterrole.html > Description: > > 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. David J.