pgsql/src/backend/libpq auth.c - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/src/backend/libpq auth.c
Date
Msg-id 200110182244.f9IMibw62990@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/10/18 18:44:37

Modified files:
    src/backend/libpq: auth.c

Log message:
    Fix authentication so that it doesn't record an extra 'Password
    authentication failed' and a 'send() failed: Broken pipe' message
    on every connection from psql in password auth mode.  Problem is
    that psql doesn't ask user for a password until it sees a password
    challenge failure, and libpq just closes the connection unceremoniously
    if it's challenged for a password when it hasn't got one to send.
    Accordingly, EOF from the client after asking for a password is
    normal behavior and should not result in postmaster log entries.


pgsql-committers by date:

Previous
From: tgl@postgresql.org
Date:
Subject: pgsql/src/backend/parser gram.y
Next
From: tgl@postgresql.org
Date:
Subject: pgsql/src/backend/utils/error elog.c