Re: [HACKERS] Fix for libpq compile

2010-07-18 Thread Tom Lane
Bruce Momjian 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 com

[HACKERS] Fix for libpq compile

2010-07-18 Thread Bruce Momjian
This commit caused my compile to fail on CVS HEAD: revision 1.399 date: 2010/07/18 11:37:26; author: petere; state: Exp; lines: +88 -1 Add server authentication over Unix-domain sockets This adds a libpq connection parameter requirepeer that specifies th