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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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