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

From Peter Eisentraut
Subject Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Date
Msg-id Pine.LNX.4.30.0107090007230.677-100000@peter.localdomain
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
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.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


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: Tom Lane
Date:
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword