Re: pg_hba.conf caching - Mailing list pgsql-patches

From Karel Zak
Subject Re: pg_hba.conf caching
Date
Msg-id 20010723152810.D27380@ara.zf.jcu.cz
Whole thread Raw
In response to pg_hba.conf caching  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pg_hba.conf caching
Re: pg_hba.conf caching
List pgsql-patches
On Fri, Jul 20, 2001 at 08:31:02PM -0400, Bruce Momjian wrote:
> Attached is a patch that caches the non-comment contents of pg_hba.conf
> as a List of list of tokens.  It uses that to test each authentication

  Means it cached are tokens only (and it save lexical analyze for
postmaster children), and final parsing (syntax analyze) running always?

 If I'm right: why not store to memory some final structs with config
file content? And for example things like 'strcmp(token, "password")'
run only once during postmaster startup.

            Karel

--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

pgsql-patches by date:

Previous
From: "Darko Prenosil"
Date:
Subject: Re: [BUGS] WIN32 Non Blocking
Next
From: Tom Lane
Date:
Subject: Re: pg_hba.conf caching