pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Emre Hasegeli <emre@hasegeli.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
Date: Thu, 25 Jul 2013 12:18:18 -0400
Message-ID: <20344.1374769098@sss.pgh.pa.us> (raw)
In-Reply-To: <20130725160840.GE15081@alap2.anarazel.de>
References: <E1UtF6j-0005B2-Ob@wrigleys.postgresql.org>
	<20130630111930.GL11516@alap2.anarazel.de>
	<CAE2gYzzA_GuLONnvJhohi=A3x6+Xmf0mkZaCs0Pqi=KBUi74Bw@mail.gmail.com>
	<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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Andres Freund <andres@2ndquadrant.com> 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



view thread (26+ messages)

Message-ID: <20344.1374769098@sss.pgh.pa.us>
Permalink:  ../20344.1374769098@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20344.1374769098@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@2ndquadrant.com, emre@hasegeli.com, andrew@dunslane.net
  Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled
  In-Reply-To: <20344.1374769098@sss.pgh.pa.us>
  References: <E1UtF6j-0005B2-Ob@wrigleys.postgresql.org> <20130630111930.GL11516@alap2.anarazel.de> <CAE2gYzzA_GuLONnvJhohi=A3x6+Xmf0mkZaCs0Pqi=KBUi74Bw@mail.gmail.com> <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> <20344.1374769098@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox