Re: Two round for Client Authentication - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Two round for Client Authentication
Date
Msg-id CAL9smLBDZxHeAfjz2wEORZfc8yq6Rc+AZt5R6taW3KWF9dXGPw@mail.gmail.com
Whole thread Raw
In response to Two round for Client Authentication  (Yinjie Lin <exialin37@gmail.com>)
Responses Re: Two round for Client Authentication
List pgsql-hackers
On Thu, Jun 14, 2018 at 7:12 AM, Yinjie Lin <exialin37@gmail.com> wrote:
Currently I am reading and testing code about Client Authentication, but I find that there are two progresses forked if I login using psql, while only one progress is forked if using pgAdmin.

If psql finds the server asks for a password, it closes the first connection, displays a password prompt to the user, and then does another connection attempt with the password the user entered.  You can avoid the first attempt with the -W flag; though there's usually no reason to do that in practice.


.m

pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: Partitioning with temp tables is broken
Next
From: "David G. Johnston"
Date:
Subject: Re: Two round for Client Authentication