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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway.
Date: 2011-07-23 22:53:49
Message-ID: 4E2B50FD.2070503@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2011-07-23 23:33:44 pgsql: Unbreak Windows builds broken by EDITOR_LINENUMBER_ARG change.
Previous Message Peter Eisentraut 2011-07-23 21:50:41 pgsql: Change EDITOR_LINENUMBER_SWITCH to an environment variable

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2011-07-23 23:25:05 Re: XPATH vs. server_encoding != UTF-8
Previous Message Peter Eisentraut 2011-07-23 20:49:51 Re: XPATH vs. server_encoding != UTF-8