Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1al4dH-0002C9-7G for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Mar 2016 01:09:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1al4dG-0007RM-K8 for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Mar 2016 01:09:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1al4dG-0007RC-2T; Wed, 30 Mar 2016 01:09:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1al4dD-0000TN-5V; Wed, 30 Mar 2016 01:09: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 u2U194qf004294; Tue, 29 Mar 2016 21:09:04 -0400 From: Tom Lane To: Alvaro Herrera cc: Christian Ullrich , Magnus Hagander , "pgsql-bugs@postgresql.org" , "pgsql-hackers@postgresql.org" Subject: Re: Re: [HACKERS] BUG #13854: SSPI authentication failure: wrong realm name used In-reply-to: <20160329221413.GA929448@alvherre.pgsql> References: <20160329221413.GA929448@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 29 Mar 2016 19:14:13 -0300" Date: Tue, 29 Mar 2016 21:09:04 -0400 Message-ID: <4293.1459300144@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) 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 Alvaro Herrera writes: > Tom Lane wrote: >> Anyway, as things stand, elog(ERROR) will abort the session safely but >> you won't necessarily get the kind of logging you want, so expected >> auth-failure cases should try to go the STATUS_ERROR route. > In other words, the use of palloc() and friends (psprintf in the patch) > should be acceptable here. Sure, no problem with that. 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