Re: Fix for libpq compile

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>, Peter Eisentraut <peter_e@gmx.net>
Date: 2010-07-18T17:13:51Z
Lists: pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I have applied the attached check, but without SO_PEERCRED I can't
> report the username which failed.  Please adjust this if necessary.

AFAICT that should have been using the uid variable, not any of the
platform-specific things.  Apparently this was not tested before commit
on any but SO_PEERCRED platforms.

			regards, tom lane