Re: BUG #16486: Prompted password is ignored when password specified in connection string

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #16486: Prompted password is ignored when password specified in connection string
Дата
Msg-id 2090524.1591652199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #16486: Prompted password is ignored when password specified in connection string  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #16486: Prompted password is ignored when password specifiedin connection string  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Assuming that we have the user u1 with the password p1, the following
> command:
> psql -U u1 'dbname=postgres password=p1' -W
> prompts for a password but the input password is effectively ignored.

The entire point of the -W switch is that it prompts whether or not
the password is going to be used for anything.  If you don't like that,
don't use -W.

            regards, tom lane



В списке pgsql-bugs по дате отправления:

Предыдущее
От: legrand legrand
Дата:
Сообщение: pg_stat_statements: duplicated external query texts with MSY2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #16487: EXPLAIN produces JSON with duplicate "Workers" arrays