Re: best method of reloading pg_hba.conf

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: David Ford <david(at)blue-labs(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: best method of reloading pg_hba.conf
Date: 2001-11-09 23:31:47
Message-ID: 200111092331.fA9NVla00617@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-09 23:43:08 Re: 'real' strange problem in 7.1.3
Previous Message Barry Lind 2001-11-09 23:10:27 Bug?? -- Alter table drop constraint doesn't seem to work on a primary key constraint in 7.2beta2