Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Damien Clermonté <damien(dot)clermonte(at)free(dot)fr>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Date: 2001-07-09 01:31:04
Message-ID: 7634.994642264@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-07-09 01:32:18 RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Previous Message Christopher Kings-Lynne 2001-07-09 01:29:43 RE: Re: [GENERAL] Vacuum and Transactions

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Kings-Lynne 2001-07-09 01:32:18 RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Previous Message Ola Sundell 2001-07-08 22:19:21 UpdateableResultSets and concurrency.