Re: Problem with reloading groups in pg_hba.conf

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Problem with reloading groups in pg_hba.conf
Дата
Msg-id 200203221719.g2MHJFb09133@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Problem with reloading groups in pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Problem with reloading groups in pg_hba.conf  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Problem with reloading groups in pg_hba.conf  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:
> Tom Lane writes:
> 
> > I don't think GRANT CONNECT fits into our setup at all.  I also doubt
> > that it will be needed very much once we have schemas.
> 
> People have many times asked for a way to alter the connection settings
> from within the database.  For instance, you add users in the database,
> but then you need to go elsewhere to give that user any access.  Consider
> GRANT CONNECT a built-in editor for pg_hba.conf.  You don't have to
> actually store the information in two separate places.

I don't know.  Automatically modifying a manually maintained config file
isn't too common a feature.  One problem would be if you where modifying
the file in your editor and the backend rewrote the file.

I think groups will give use the ability to add/remove connection from
within the database.  You just need to mention the group name in the
config file.  My original idea was to automatically identify some group
name for each database but maybe that is too smart.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_control contents
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with reloading groups in pg_hba.conf