Re: Fix for libpq compile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: Fix for libpq compile
Date: 2010-07-18 17:13:51
Message-ID: 10871.1279473231@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <bruce(at)momjian(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-07-18 17:16:59 Re: standard_conforming_strings
Previous Message Andres Freund 2010-07-18 16:51:28 Re: ALTER TABLE SET STATISTICS requires AccessExclusiveLock