pgsql/src/backend/libpq auth.c

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/libpq auth.c
Date: 2001-10-18 22:44:37
Message-ID: 200110182244.f9IMibw62990@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message tgl 2001-10-18 23:07:30 pgsql/src/backend/utils/error elog.c
Previous Message tgl 2001-10-18 22:40:52 pgsql/src/include c.h