Re: best method of reloading pg_hba.conf - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: best method of reloading pg_hba.conf
Date
Msg-id 200111092331.fA9NVla00617@candle.pha.pa.us
Whole thread Raw
In response to Re: best method of reloading pg_hba.conf  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
> Bruce Momjian wrote:
> > 
> > > Is the best method of reloading pg_hba.conf to SIGHUP the master process?
> > 
> > In 7.2, yes, pg_ctl restart or SIGHUP.  On 7.1.X pg_hba.conf is reread
> > on every connection request.
> 
> Why was it changed ?

Performance.  Peter E found that considerable startup time was being
wasted reading the file.


--  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 by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: best method of reloading pg_hba.conf
Next
From: Tom Lane
Date:
Subject: Re: 'real' strange problem in 7.1.3