Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword - Mailing list pgsql-patches

From Tom Lane
Subject Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Date
Msg-id 7634.994642264@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  (Peter Eisentraut <peter_e@gmx.net>)
Responses RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> Since pg_hba.conf is re-read on every connection, I've always thought
>> it was pretty bogus to bulk it up with that much internal documentation.

> Maybe it should be cached in memory and only be re-read on request
> (SIGHUP).  Parsing that file every time is undoubtedly a large fraction of
> the total connection startup time.

Okay with me if someone wants to do it ... but that'd be a lot more work
than just moving the documentation ...

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Next
From: "Christopher Kings-Lynne"
Date:
Subject: RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword