Re: The pg_hba.conf file

Bruno Wolff III <bruno@wolff.to>

From: Bruno Wolff III <bruno@wolff.to>
To: ghaverla@freenet.edmonton.ab.ca
Cc: pgsql-novice@postgresql.org
Date: 2002-12-19T16:53:03Z
Lists: pgsql-novice
On Thu, Dec 19, 2002 at 08:00:46 -0700,
  ghaverla@freenet.edmonton.ab.ca wrote:
> 
> Since I admin the local machine, I guess I can trust myself.
> But I was looking to see that identity for the "local" connection
> has nothing to do with any ident daemon I may be running (or
> not running, which is what I would prefer).

If you use the 'local' connection it uses a domain socket and some
OS' provide a getpeerid syscall to obtain the uid of the using on the
other end of the connection.

If you use a 'host' connection to the local host then ident works using
the local machine's ident server.