Re: incorrect error message - Mailing list pgsql-docs

From David G. Johnston
Subject Re: incorrect error message
Date
Msg-id CAKFQuwZwa=zm9QHEY9rWTwMNWo1NdsNRwQmpq86NW6CNWm7a=A@mail.gmail.com
Whole thread Raw
In response to incorrect error message  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
On Wednesday, February 12, 2025, PG Doc comments form <noreply@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.

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: incorrect error message
Next
From: PG Doc comments form
Date:
Subject: Copy paste error