Marko Kreen <markokr(at)gmail(dot)com> writes:
> My suggestion would be to use getpeereid() everywhere.
> And just have compat getpeereid() implementation on non-BSD
> platforms. This would minimize ifdeffery in core core.
Hm, maybe. I'd be for this if we had more than two call sites, but
as things stand I'm not sure it's worth the trouble to set up a src/port
module for it.
regards, tom lane
In response to
pgsql-hackers by date
|Next:||From: Nicolas Barbier||Date: 2011-05-31 22:07:00|
|Subject: Re: Please test peer (socket ident) auth on *BSD|
|Previous:||From: Robert Haas||Date: 2011-05-31 21:58:08|
|Subject: Re: Hash Anti Join performance degradation|