Re: could not stat promote trigger file leads to shutdown - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: could not stat promote trigger file leads to shutdown
Date
Msg-id CAHGQGwHPkeP1DqygnbfJ=bhDwrqOOssf+w1er1W8Qrf8wT512Q@mail.gmail.com
Whole thread Raw
In response to could not stat promote trigger file leads to shutdown  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Thu, Nov 14, 2019 at 10:58 PM Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
>
> I have seen the error
>
>      could not stat promote trigger file "...": Permission denied
>
> because of a misconfiguration (for example, setting promote_trigger_file
> to point into a directory to which you don't have appropriate read or
> execute access).
>
> The problem is that because this happens in the startup process, the
> ERROR is turned into a FATAL and the whole instance shuts down.  That
> seems like a harsh penalty.  Would it be better to turn this ERROR into
> a WARNING?

+1

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Allow CREATE OR REPLACE VIEW to rename the columns
Next
From: Fabien COELHO
Date:
Subject: Re: segfault in geqo on experimental gcc animal