Re: Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)
Date: 2001-07-10 23:36:06
Message-ID: 200107102336.f6ANa6317294@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > So we're looking at a possible 12% win.
>
> Many thanks for doing this legwork.
>
> The possible win from not having to read the file at all is probably
> somewhat higher than that, but not vastly higher. Accordingly, I'd
> say that pre-parsing the file is not worth the development time needed
> to make it happen. However, moving the comments out is clearly worth
> the (very small) amount of effort needed to make that happen. Any
> objections?

Let me see if I can cache the contents. I hate to make things harder to
set us up, even if it is a small thing.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-07-10 23:37:59 Re: varchar vs. text
Previous Message Neil Conway 2001-07-10 23:17:05 Re: 2 gig file size limit

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-07-11 00:58:30 Re: patch for spelling mistake
Previous Message Tom Lane 2001-07-10 23:20:28 Re: patch for spelling mistake