Re: recovery_target_action doesn't work for anything but shutdown - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: recovery_target_action doesn't work for anything but shutdown
Date
Msg-id CAB7nPqTYhRTHpeNC_MjhXy5NtJbp4=s=qNJTce6ZjsS7dFNxow@mail.gmail.com
Whole thread Raw
In response to Re: recovery_target_action doesn't work for anything but shutdown  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Thu, Mar 12, 2015 at 11:53 PM, Andres Freund <andres@2ndquadrant.com> wrote:
> On 2015-03-12 15:52:02 +0100, Andres Freund wrote:
>> I guess what you actually intended to test was StandbyModeRequested?
>
> Err, EnableHotStandby.

Indeed. Without !EnableHotStandby, a node in recovery would simply be
shut down even if a pause has been requested when hot_standby = on.
This goes as well in the sense of the comment.
-- 
Michael



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan