Обсуждение: Automatically updating pg_hba.conf

Поиск
Список
Период
Сортировка

Automatically updating pg_hba.conf

От
Serge Obeuf
Дата:
Hi all,

How can Administrative PostGres Client such as "pgadmin" automatically
update the server pg_hba.conf file as soon as a new user is created ?

Thank you for telling is there is any way ?

Best regards.

--
Serge Obeuf
DISI/SI




Re: Automatically updating pg_hba.conf

От
Bruce Momjian
Дата:
Serge Obeuf wrote:
> Hi all,
>
> How can Administrative PostGres Client such as "pgadmin" automatically
> update the server pg_hba.conf file as soon as a new user is created ?
>
> Thank you for telling is there is any way ?

No.  However, you can use groups in pg_hba.conf and just put the user
into that group when you add them.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073