Re: Patch to make postmaster bind to only to localhost.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch to make postmaster bind to only to localhost.
Дата
Msg-id 200009121708.NAA28118@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Patch to make postmaster bind to only to localhost.  ("John C. Quillan" <john_quillan@datasoft.com>)
Список pgsql-patches
> All,
>
> I thought I would through in my 2c into this discussion,
>
> First: Bruce, I believe you said earlier that we don't even fire
> up a back end before we reject them.  From what I could see from
> a strace, the pg_hba.conf file is never open from the postmaster,
> so I am not sure how this can be.
>
> I will look more into this later to thuroughly verify this statement.

I can assure you that the postmaster reads the pg_hba.conf, and no
database access is performed for validation.  In fact, we go though
great hurtles to enable this.  The dump of pg_shadow to a flat file is
just one of the things we have to do so the postmaster can do its job
with no database access.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-patches по дате отправления:

Предыдущее
От: "John C. Quillan"
Дата:
Сообщение: Re: Patch to make postmaster bind to only to localhost.
Следующее
От: Christopher Cain
Дата:
Сообщение: JDBC Patch - Take 2