Re: recovery_target_action doesn't work for anything but shutdown

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Petr Jelinek <petr(at)2ndquadrant(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: recovery_target_action doesn't work for anything but shutdown
Date: 2015-03-13 13:00:37
Message-ID: CAB7nPqTYhRTHpeNC_MjhXy5NtJbp4=s=qNJTce6ZjsS7dFNxow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 12, 2015 at 11:53 PM, Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2015-03-13 13:01:54 Re: Parallel Seq Scan
Previous Message Amit Kapila 2015-03-13 12:59:10 Re: Parallel Seq Scan