could not stat promote trigger file leads to shutdown

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: could not stat promote trigger file leads to shutdown
Date: 2019-11-14 13:58:32
Message-ID: 3d22ae93-db56-9487-555b-ca6518ec036c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2019-11-14 14:14:22 Re: Allow CREATE OR REPLACE VIEW to rename the columns
Previous Message Sehrope Sarkuni 2019-11-14 13:54:27 Re: ssl passphrase callback