Re: pgsql: Log a warning instead of shutting down the system if we can't

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org, Selena Deckelmann <selena(at)endpoint(dot)com>
Subject: Re: pgsql: Log a warning instead of shutting down the system if we can't
Date: 2009-03-04 17:57:07
Message-ID: 4160.1236189427@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

mha(at)postgresql(dot)org (Magnus Hagander) writes:
> Log a warning instead of shutting down the system if we can't load
> pg_hba.conf on reload (for example due to a permission error).

This should be elog(LOG), not elog(WARNING). Compare the treatment
of syntax errors within the file.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2009-03-04 18:15:59 Re: pgsql: Log a warning instead of shutting down the system if we can't
Previous Message Heikki Linnakangas 2009-03-04 13:56:40 pgsql: Reload config file in startup process on SIGHUP.