Re: Two round for Client Authentication

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Two round for Client Authentication
Дата
Msg-id CAKFQuwa9LsPAnQ898UDQwqY04ikPVwHEgrBYKN2T32DWSfdC_A@mail.gmail.com
обсуждение исходный текст
Ответ на Two round for Client Authentication  (Yinjie Lin <exialin37@gmail.com>)
Список pgsql-hackers
On Wednesday, June 13, 2018, Yinjie Lin <exialin37@gmail.com> wrote:
Why are there two such progresses forked? I think one round should be enough, like when using pgAdmin.

You can use the --password option to prevent it.

"""
This option is never essential, since psql will automatically prompt for a password if the server demands password authentication. However, psql will waste a connection attempt finding out that the server wants a password. In some cases it is worth typing -W to avoid the extra connection attempt.
"""

In pgAdmin you've saved a password to the profile so the initial attempt uses it.  psql doesn't have a similar capability.  Though I am unsure whether the use of .pgpass would make any difference here...

David J.

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

Предыдущее
От: Marko Tiikkaja
Дата:
Сообщение: Re: Two round for Client Authentication
Следующее
От: Amit Langote
Дата:
Сообщение: Re: Partitioning with temp tables is broken