Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2OFG-0006lZ-IZ for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Jul 2013 16:18:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V2OFG-0007gN-1l for pgsql-bugs@arkaria.postgresql.org; Thu, 25 Jul 2013 16:18:26 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2OFF-0007gH-B3 for pgsql-bugs@postgresql.org; Thu, 25 Jul 2013 16:18:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2OFC-0005sG-Fh for pgsql-bugs@postgresql.org; Thu, 25 Jul 2013 16:18:24 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r6PGIIwB020345; Thu, 25 Jul 2013 12:18:18 -0400 (EDT) From: Tom Lane To: Andres Freund cc: Emre Hasegeli , Andrew Dunstan , pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled In-reply-to: <20130725160840.GE15081@alap2.anarazel.de> References: <20130630111930.GL11516@alap2.anarazel.de> <20130630131720.GM11516@alap2.anarazel.de> <20130725133200.GB15081@alap2.anarazel.de> <8197.1374760111@sss.pgh.pa.us> <20130725135854.GD15081@alap2.anarazel.de> <19791.1374767447@sss.pgh.pa.us> <20130725160840.GE15081@alap2.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 25 Jul 2013 18:08:40 +0200" Date: Thu, 25 Jul 2013 12:18:18 -0400 Message-ID: <20344.1374769098@sss.pgh.pa.us> X-Pg-Spam-Score: -0.0 (/) 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 Andres Freund writes: > On 2013-07-25 11:50:47 -0400, Tom Lane wrote: >> So on an OpenBSD build that code wouldn't be used anyway (not even >> when talking to a pre-9.1 server, if I'm interpreting the comment >> correctly). > As far as I understood it, it wouldn't be used as long as you're not > talking to a server on another platform that supports AUTH_REQ_SCM_CREDS > serverside. Which is pretty unlikely, I grant you that ;) But SCM_CREDS is only relevant to Unix-socket connections, so the server has to be under the same kernel as the client. > Not that it really matters, but I am slightly doubtful about the > "kfreebsd only" claim. Given the age of that code relative do kfreebsd > there at least had to be some more platforms needing that codepath at > some point. Of course. There's some historical context in the commit message for be4585b1c27ac5dbdd0d61740d18f7ad9a00e268 --- basically the point is that kfreebsd was the last live platform on which we'd use credentials messages. 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