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

From Tom Lane
Subject Re: pg_hba.conf caching
Date
Msg-id 15052.995899293@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_hba.conf caching  (Karel Zak <zakkr@zf.jcu.cz>)
List pgsql-patches
Karel Zak <zakkr@zf.jcu.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

pgsql-patches by date:

Previous
From: Karel Zak
Date:
Subject: Re: pg_hba.conf caching
Next
From: Neil Padgett
Date:
Subject: Patch to allow multiple table locks in "Unison"