| From: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> | 
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> | 
| Cc: | pgsql-patches <pgsql-patches(at)postgreSQL(dot)org> | 
| Subject: | Re: pg_hba.conf caching | 
| Date: | 2001-07-23 13:28:11 | 
| Message-ID: | 20010723152810.D27380@ara.zf.jcu.cz | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | 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(at)zf(dot)jcu(dot)cz>
 http://home.zf.jcu.cz/~zakkr/
 
 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2001-07-23 14:41:33 | Re: pg_hba.conf caching | 
| Previous Message | Bruce Momjian | 2001-07-23 00:55:44 | pg_hba.conf cache |