Обсуждение: BUG #17124: Psql prompting for a password

Поиск
Список
Период
Сортировка

BUG #17124: Psql prompting for a password

От
PG Bug reporting form
Дата:
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.


Re: BUG #17124: Psql prompting for a password

От
Tom Lane
Дата:
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



Re: BUG #17124: Psql prompting for a password

От
Tom Lane
Дата:
[ 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



Re: BUG #17124: Psql prompting for a password

От
Valdir Kageyama
Дата:
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:
[ 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