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

From Andrew Dunstan
Subject Re: Please test peer (socket ident) auth on *BSD
Date
Msg-id 4DE7C51B.4030709@dunslane.net
Whole thread Raw
In response to Please test peer (socket ident) auth on *BSD  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

On 06/02/2011 01:04 PM, Alvaro Herrera wrote:
> Excerpts from Marko Kreen's message of jue jun 02 12:45:04 -0400 2011:
>> 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.
> I don't disagree, just saying that you seem to have gone out of your way
> to produce something that doesn't seem to be necessary.

Yeah, I'm from the camp that says "don't compile code that's guaranteed 
to be dead."

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: vacuum and row type
Next
From: Alvaro Herrera
Date:
Subject: Re: Hacking gram.y Error syntax error at or near "MERGEJOIN"