OSDN Git Service

Implement getpeereid() as a src/port compatibility function.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2011 17:05:01 +0000 (13:05 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Jun 2011 17:05:01 +0000 (13:05 -0400)
commit3980f7fc6ecb75952ebe76c3d30ec6731728098d
tree6578e3dea9723f39ef28019d299e84103b49f4a9
parent0c99d41ec887051fb0cc6e35e358ecc936a13584
Implement getpeereid() as a src/port compatibility function.

This unifies a bunch of ugly #ifdef's in one place.  Per discussion,
we only need this where HAVE_UNIX_SOCKETS, so no need to cover Windows.

Marko Kreen, some adjustment by Tom Lane
configure
configure.in
src/backend/libpq/auth.c
src/include/port.h
src/interfaces/libpq/fe-connect.c
src/port/getpeereid.c [new file with mode: 0644]