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

From Magnus Hagander
Subject Re: pgsql: Log a warning instead of shutting down the system if we can't
Date
Msg-id 49AEC55F.6060603@hagander.net
Whole thread Raw
In response to Re: pgsql: Log a warning instead of shutting down the system if we can't  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
Tom Lane wrote:
> mha@postgresql.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.

While I can agree that they should be the same, why should they not be
WARNING?

//Magnus

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Log a warning instead of shutting down the system if we can't
Next
From: mha@postgresql.org (Magnus Hagander)
Date:
Subject: pgsql: Change hba load failure message to LOG instead of WARNING.