Thread: Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway.


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