BUG #17124: Psql prompting for a password

Started by PG Bug reporting formover 4 years ago4 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 17124
Logged by: Valdir Kageyama
Email address: vtkageyama@gmail.com
PostgreSQL version: 13.3
Operating system: Oracle Linux
Description:

When a try change database in psql witch command \c ask again password.

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: BUG #17124: Psql prompting for a password

PG Bug reporting form <noreply@postgresql.org> writes:

Bug reference: 17124
Logged by: Valdir Kageyama
Email address: vtkageyama@gmail.com
PostgreSQL version: 13.3
Operating system: Oracle Linux
Description:

When a try change database in psql witch command \c ask again password.

You'd need to provide a great deal more detail if you want anyone to
look into this. However, I wonder whether your psql (not server)
is 13.3, or perhaps a bit older. There were some bugs in this area
in 13.1 (fixed in 13.2).

regards, tom lane

#3Tom Lane
tgl@sss.pgh.pa.us
In reply to: PG Bug reporting form (#1)
Re: BUG #17124: Psql prompting for a password

[ please keep the mailing list cc'd ]

Valdir Kageyama <vtkageyama@gmail.com> writes:

Following more information:

psql --version
psql (PostgreSQL) 13.3

psql -U indra -p 6432 -W -h localhost -d postgres

The -W switch says to prompt for a password every time,
so that's what it's doing.

regards, tom lane

#4Valdir Kageyama
vtkageyama@gmail.com
In reply to: Tom Lane (#3)
Re: BUG #17124: Psql prompting for a password

Tom thanks so much for the help.

regards, Valdir.

Em ter., 27 de jul. de 2021 às 14:53, Tom Lane <tgl@sss.pgh.pa.us> escreveu:

Show quoted text

[ please keep the mailing list cc'd ]

Valdir Kageyama <vtkageyama@gmail.com> writes:

Following more information:

psql --version
psql (PostgreSQL) 13.3

psql -U indra -p 6432 -W -h localhost -d postgres

The -W switch says to prompt for a password every time,
so that's what it's doing.

regards, tom lane