Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway. - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway.
Date
Msg-id 4E2B50FD.2070503@dunslane.net
Whole thread Raw
List pgsql-hackers

On 06/02/2011 05:27 PM, Tom Lane wrote:
> Looks like we can't declare getpeereid on Windows anyway.
>
> ... for lack of the uid_t and gid_t typedefs.  Per buildfarm.
>
>

This has given rise to a bunch of warnings on Windows. I'm confused 
about how we can compile with a signature that includes uid_t and gid_t 
but not have a prototype because of those. In any case, why are we even 
compiling it on Windows since it's only called when HAVE_UNIX_SOCKETS is 
true?

cheers

andrew




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: XPATH vs. server_encoding != UTF-8
Next
From: Florian Pflug
Date:
Subject: Re: XPATH vs. server_encoding != UTF-8