agora inbox for pgsql-hackers@postgresql.org
help / color / mirror / Atom feedFrom: Petr Jelinek <petr@2ndquadrant.com>
To: Andres Freund <andres@2ndquadrant.com>
To: pgsql-hackers@postgresql.org
To: Simon Riggs <simon@2ndQuadrant.com>
Subject: Re: recovery_target_action doesn't work for anything but shutdown
Date: Fri, 13 Mar 2015 15:06:13 +0100
Message-ID: <5502EED5.3030904@2ndquadrant.com> (raw)
In-Reply-To: <20150312145354.GA22300@awork2.anarazel.de>
References: <20150312145202.GD20199@awork2.anarazel.de>
<20150312145354.GA22300@awork2.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (17+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: petr@2ndquadrant.com, andres@2ndquadrant.com, simon@2ndQuadrant.com
Subject: Re: recovery_target_action doesn't work for anything but shutdown
In-Reply-To: <5502EED5.3030904@2ndquadrant.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox