Marko Kreen <mark...@gmail.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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers