Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XJNmE-0008Ga-AU for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Aug 2014 14:19:14 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XJNmD-0007AR-Qq for pgsql-bugs@arkaria.postgresql.org; Mon, 18 Aug 2014 14:19:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJNmD-0007AL-7z for pgsql-bugs@postgresql.org; Mon, 18 Aug 2014 14:19:13 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XJNm9-0001fT-0g for pgsql-bugs@postgresql.org; Mon, 18 Aug 2014 14:19:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s7IEJ73n018414; Mon, 18 Aug 2014 10:19:07 -0400 From: Tom Lane To: tony.locke@wessexwater.co.uk cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11204: Log reason for authentication failure In-reply-to: <20140818104805.2532.47715@wrigleys.postgresql.org> References: <20140818104805.2532.47715@wrigleys.postgresql.org> Comments: In-reply-to tony.locke@wessexwater.co.uk message dated "Mon, 18 Aug 2014 10:48:05 -0000" Date: Mon, 18 Aug 2014 10:19:07 -0400 Message-ID: <18413.1408371547@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org tony.locke@wessexwater.co.uk writes: > The following bug has been logged on the website: > Bug reference: 11204 > Logged by: Tony Locke > Email address: tony.locke@wessexwater.co.uk > PostgreSQL version: 9.2.9 > Operating system: Windows Server 2008 > Description: > Hi, recently I couldn't work out why a user couldn't log in, and it turned > out that their role had expired. In the log, postgres merely said that the > log in had failed, but didn't give the reason. It would be really good if it > said in the log that it failed because the role had expired. Already done for 9.4 and later. http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=64e43c59b817a78ddf70f2fd62de31a4add5d988 regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs