Re: Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)
Date
Msg-id 200107102336.f6ANa6317294@candle.pha.pa.us
Whole thread Raw
In response to Re: Time to read pg_hba.conf (Re: [PATCHES] [PATCH] Patch to make...)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> Peter Eisentraut <peter_e@gmx.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@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: Tom Lane
Date:
Subject: Re: SOMAXCONN (was Re: Solaris source code)
Next
From: Tom Lane
Date:
Subject: Re: grant and SQL92