Re: Please test peer (socket ident) auth on *BSD - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Please test peer (socket ident) auth on *BSD
Date
Msg-id BANLkTimfXDtpUOt1cSOT9NEPX4QWhf3aDw@mail.gmail.com
Whole thread Raw
In response to Re: Please test peer (socket ident) auth on *BSD  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
On Thu, Jun 2, 2011 at 7:31 PM, Alvaro Herrera
<alvherre@commandprompt.com> wrote:
> Excerpts from Andrew Dunstan's message of jue jun 02 11:59:02 -0400 2011:
>> On 06/02/2011 11:29 AM, Marko Kreen wrote:
>> > As there was no going back now, I even touched msvc.pm.
>>
>> Why? Windows doesn't have Unix domain sockets at all.
>
> So much for being thorough :-P

Well, there is 2 approaches to portable C code:
1) You #ifdef the main code portable
2) You #ifdef common platform in headers, then main code
is written against common platform, without ifdefs.

I'm from the camp #2.

-- 
marko


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: InitProcGlobal cleanup
Next
From: Tom Lane
Date:
Subject: Re: Please test peer (socket ident) auth on *BSD