Thread: Automatically updating pg_hba.conf

Automatically updating pg_hba.conf

From
Serge Obeuf
Date:
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

From
Bruce Momjian
Date:
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