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

From Christopher Kings-Lynne
Subject RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Date
Msg-id ECEHIKNFIMMECLEBJFIGEEDGCBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
List pgsql-patches
> > 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 ...

Or cache the information and just do a file modification timestamp check on
each connection to see if it needs to be reread.  (Best of both worlds??)

Chris


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Next
From: Justin Clift
Date:
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword