can you change pg_hba.conf and restart the listener on the fly?

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

can you change pg_hba.conf and restart the listener on the fly?

От:
Mark Rostron <mrostron@ql2.com>
Дата:

Hi

We are running an 8.3.10 instance.

I need to make a change to pg_hba.conf on the fly.

Is it possible to restart just the listener for the database without cycling the postmaster?

Mr

Re: can you change pg_hba.conf and restart the listener on the fly?

От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Mark Rostron  writes:
> We are running an 8.3.10 instance.
> I need to make a change to pg_hba.conf on the fly.
> Is it possible to restart just the listener for the database without cycling the postmaster?

There is no separate "listener".  However, it's sufficient to SIGHUP the
postmaster, you don't have to restart it for pg_hba.conf changes.

			regards, tom lane

Re: can you change pg_hba.conf and restart the listener on the fly?

От:
"Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Дата:
Mark Rostron  wrote:
 
> I need to make a change to pg_hba.conf on the fly.
> Is it possible to restart just the listener for the database
> without cycling the postmaster?
 
pg_ctl reload
 
That will also pick up changes to postgresql.conf, but it won't
interrupt execution of the postmaster.
 
-Kevin
FAQ