Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Found it:
> http://fts.postgresql.org/db/mw/msg.html?mid=115140
> See the entire thread for the comments about it.
That patch uses SO_PEERCRED, and is the direct ancestor of the
present Debian patches. I haven't seen any code go by that uses
the SCM_CREDS message directly.
regards, tom lane