Re: The pg_hba.conf file

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: ghaverla(at)freenet(dot)edmonton(dot)ab(dot)ca
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: The pg_hba.conf file
Date: 2002-12-19 16:53:03
Message-ID: 20021219165303.GB16992@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, Dec 19, 2002 at 08:00:46 -0700,
ghaverla(at)freenet(dot)edmonton(dot)ab(dot)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.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Weaver 2002-12-20 03:19:56 Table referenced by OID in a view?
Previous Message ghaverla 2002-12-19 15:00:46 Re: The pg_hba.conf file