Jeremy Drake wrote:

> 2. If you cannot tell what process is connecting on a local socket (which
> I suspect you cannot portably),


See ident_unix() in hba.c.

It might not be 100% portable but I think it's fairly close for platforms
that actually have unix sockets.

cheers

andrew


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to