pgsql: Looks like we can't declare getpeereid on Windows anyway.
Looks like we can't declare getpeereid on Windows anyway.
... for lack of the uid_t and gid_t typedefs. Per buildfarm.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/680ea6a6df345218f655eaad2c25f98900487438
Modified Files
--------------
src/include/port.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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