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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "John C(dot) Quillan" <john_quillan(at)datasoft(dot)com>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch to make postmaster bind to only to localhost.
Date: 2000-09-12 17:08:22
Message-ID: 200009121708.NAA28118@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Christopher Cain 2000-09-12 18:32:57 JDBC Patch - Take 2
Previous Message John C. Quillan 2000-09-12 16:32:13 Re: Patch to make postmaster bind to only to localhost.