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

From Petr Jelinek
Subject Re: recovery_target_action doesn't work for anything but shutdown
Date
Msg-id 5502EED5.3030904@2ndquadrant.com
Whole thread Raw
In response to Re: recovery_target_action doesn't work for anything but shutdown  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: recovery_target_action doesn't work for anything but shutdown
List pgsql-hackers
On 12/03/15 15:53, Andres Freund wrote:
> On 2015-03-12 15:52:02 +0100, Andres Freund wrote:
>> I guess what you actually intended to test was StandbyModeRequested?
>
> Err, EnableHotStandby.
>

Yeah pause does not work currently. This change was made by committer 
and I think the intended change was to make it a little safer by 
silently changing to shutdown instead of silently changing to promote 
which is essentially what was happening before the patch.

But yes the check should have been against EnableHotStandby it seems.


--  Petr Jelinek                  http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan
Next
From: Petr Jelinek
Date:
Subject: Re: recovery_target_action doesn't work for anything but shutdown