Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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.


pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group