Re: keywords on .pgpass

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: keywords on .pgpass
Дата
Msg-id 4B34B688.5030502@dunslane.net
обсуждение исходный текст
Ответ на keywords on .pgpass  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: keywords on .pgpass  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers

Fujii Masao wrote:
> Hi,
>
> pg_hba.conf accepts some keywords like 'all', 'sameuser' and so on.
> Likewise, I'd like to support the same keywords for .pgpass file.
> Thought?
>
>
>   

I don't see the use case for it - .pgpass is for single users, not a 
whole cluster. And it does support wildcards, which takes care of the 
'all' case. In the case of pg_hba.conf we don't know in advance who will 
actually be connecting. But in the case of .pgpass we do, so the extra 
utility of 'sameuser', 'samerole' and 'samegroup' in this case is not 
apparent to me.

cheers

andrew


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: keywords on .pgpass
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Removing pg_migrator limitations