Re: pg_hba.conf question

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_hba.conf question
Дата
Msg-id 24399.980780857@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_hba.conf question  ("Graham Vickrage" <graham@digitalplanit.com>)
Ответы RE: pg_hba.conf question  ("Graham Vickrage" <graham@digitalplanit.com>)
Список pgsql-admin
"Graham Vickrage" <graham@digitalplanit.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 127.0.0.1 as ident sameuser and socket connections as
reject in pg_hba.conf.

            regards, tom lane

В списке pgsql-admin по дате отправления:

Предыдущее
От: Kim Minh Kaplan
Дата:
Сообщение: Re: postgres limitation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Database ... has disappeared from pg_database