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:46:14
Message-ID: 200111092346.fA9NkEf01637@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > Performance. Peter E found that considerable startup time was being
> > wasted reading the file.
>
> But can't we read it only when needed ?
>
> Just stat'ing it should be much cheaper than reading it each time.

We thought about that but it seems we could be reading partial writes to
the file. This way the administrator controls when the changes become
effective.

--
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 Doug McNaught 2001-11-09 23:50:42 Re: best method of reloading pg_hba.conf
Previous Message Tom Lane 2001-11-09 23:43:08 Re: 'real' strange problem in 7.1.3