Re: The pg_hba.conf file - Mailing list pgsql-novice

From Bruno Wolff III
Subject Re: The pg_hba.conf file
Date
Msg-id 20021219165303.GB16992@wolff.to
Whole thread Raw
In response to Re: The pg_hba.conf file  (<ghaverla@freenet.edmonton.ab.ca>)
List 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.

pgsql-novice by date:

Previous
From:
Date:
Subject: Re: The pg_hba.conf file
Next
From: Michael Weaver
Date:
Subject: Table referenced by OID in a view?