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