Re: Bugtraq: Having Fun With PostgreSQL - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Bugtraq: Having Fun With PostgreSQL
Date
Msg-id 63550.75.177.135.163.1182909554.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: Bugtraq: Having Fun With PostgreSQL  (Jeremy Drake <pgsql@jdrake.com>)
Responses Re: Bugtraq: Having Fun With PostgreSQL  (Jeremy Drake <pgsql@jdrake.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: Bgwriter LRU cleaning: we've been going at this all wrong
Next
From: Greg Smith
Date:
Subject: Re: Bgwriter LRU cleaning: we've been going at this all wrong