Skip site navigation (1) Skip section navigation (2)

Re: pg_hba.conf caching

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_hba.conf caching
Date: 2001-07-23 14:41:33
Message-ID: 15052.995899293@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> writes:
>  If I'm right: why not store to memory some final structs with config 
> file content?

That was the original suggestion, but Bruce realized that it's way more
work than it's worth.  Eliminating I/O for the comment lines was the big
point for this change --- in a typical pg_hba.conf, there aren't going
to be enough non-comment lines for parsing them to cost anything
noticeable.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Darko PrenosilDate: 2001-07-23 17:47:14
Subject: Re: [BUGS] WIN32 MULTIBYTE
Previous:From: Karel ZakDate: 2001-07-23 13:28:11
Subject: Re: pg_hba.conf caching

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group