Re: Parsing of pg_hba.conf and authentication inconsistencies - Mailing list pgsql-hackers

From Robert Treat
Subject Re: Parsing of pg_hba.conf and authentication inconsistencies
Date
Msg-id 200808022230.18782.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: Parsing of pg_hba.conf and authentication inconsistencies  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Parsing of pg_hba.conf and authentication inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Saturday 02 August 2008 13:36:40 Magnus Hagander wrote:
> Josh Berkus wrote:
> > Tom,
> >
> >> Seems a lot better to me to just train people to run the check-config
> >> code by hand before pulling the trigger to load the settings for real.
> >
> > Or just have pg_ctl --check-first as an option.  Cautious DBAs would use
> > that.  In 2-3 versions, we can make --check-first the default, and
> > require the option --dont-check for unattended restarts.
>
> If the config file is known to be broken, why should you *ever* allow it
> to try to restart it?
>

Certainly there isn't any reason to allow a reload of a file that is just 
going to break things when the first connection happens. For that matter,  
why would we ever not want to parse it at HUP time rather than connect time? 

-- 
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Parsing of pg_hba.conf and authentication inconsistencies
Next
From: Tatsuo Ishii
Date:
Subject: WITH RECURSIVE patches 0803