Skip site navigation (1) Skip section navigation (2)

Re: pg_hba.conf question

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Graham Vickrage" <graham(at)digitalplanit(dot)com>
Cc: "Postgres Admin" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_hba.conf question
Date: 2001-01-29 15:07:37
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
"Graham Vickrage" <graham(at)digitalplanit(dot)com> writes:
> I noticed that you can't use the 'ident sameuser' with local unix sockets,
> what is the method of getting round this as I cant use trust for this
> database?

ident only works with TCP sockets.  You could require people to connect
to host localhost, ie, use a local TCP connection instead of a Unix
socket.  Set up as ident sameuser and socket connections as
reject in pg_hba.conf.

			regards, tom lane

In response to


pgsql-admin by date

Next:From: Tom LaneDate: 2001-01-29 15:26:33
Subject: Re: Database ... has disappeared from pg_database
Previous:From: Kim Minh KaplanDate: 2001-01-29 14:50:45
Subject: Re: postgres limitation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group