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 Zak <zakkr(at)zf(dot)jcu(dot)cz>
C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
In response to
pgsql-patches by date
|Next:||From: Tom Lane||Date: 2001-07-23 14:41:33|
|Subject: Re: pg_hba.conf caching |
|Previous:||From: Bruce Momjian||Date: 2001-07-23 00:55:44|
|Subject: pg_hba.conf cache|