postgresql/src/common
Tom Lane b777be0d48 Un-break peer authentication.
Commit 613c6d26bd sloppily replaced a
lookup of the UID obtained from getpeereid() with a lookup of the
server's own user name, thus totally destroying peer authentication.
Revert.  Per report from Christoph Berg.

In passing, make sure get_user_name() zeroes *errstr on success on
Windows as well as non-Windows.  I don't think any callers actually
depend on this ATM, but we should be consistent across platforms.
2014-03-28 10:30:37 -04:00
..
exec.c Prevent potential overruns of fixed-size buffers. 2014-02-17 11:20:21 -05:00
fe_memutils.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
Makefile Move username lookup functions from /port to /common 2014-01-10 18:03:28 -05:00
pgfnames.c Remove MinGW readdir/errno bug workaround fixed on 2003-10-10 2014-03-21 13:47:37 -04:00
psprintf.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
relpath.c Make various variables const (read-only). 2014-01-18 16:04:32 -05:00
rmtree.c Update copyright for 2014 2014-01-07 16:05:30 -05:00
username.c Un-break peer authentication. 2014-03-28 10:30:37 -04:00
wait_error.c Update copyright for 2014 2014-01-07 16:05:30 -05:00