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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Дата
Msg-id 7634.994642264@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  (Peter Eisentraut <peter_e@gmx.net>)
Ответы RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Следующее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: RE: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword