From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: katsumata.tomonari@po.ntts.co.jp
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7803: Replication Problem(no master is there)
Date: Fri, 11 Jan 2013 11:25:54 +0200
Message-ID: <50EFDAA2.3000404@vmware.com> (raw)
In-Reply-To: <CA+U5nM+xdeL1oTSxE8i3Onx_xNsCyTOtaex064vvbji96adM5g@mail.gmail.com>
References: <E1TtVvj-0004B3-2Z@wrigleys.postgresql.org>
<50EFCFF5.4040109@vmware.com>
<CA+U5nM+xdeL1oTSxE8i3Onx_xNsCyTOtaex064vvbji96adM5g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 11.01.2013 11:19, Simon Riggs wrote:
> On 11 January 2013 08:40, Heikki Linnakangas<hlinnakangas@vmware.com> wrote:
>
>> This makes me wonder if there should be a GUC to forbid cascading
>> replication, though. If you don't want to do cascading replication (which is
>> quite rare, I'd say), you could just disable it to avoid a situation like
>> this.
>
> Connection from a standby is disabled by default. Don't enable it...
It's controlled by hot_standby=on/off. You might well want to enable hot
standby, to run queries on a standby, but disable cascading replication.
You can also forbid replication connections using pg_hba.conf, but then
you need to modify it to allow connections again after failover, when
the standby becomes master. That's doable, but inconvenient.
(just thinking out loud here..) If we were to have such a switch, it'd
be nice to still allow base backups from the standby.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: hlinnakangas@vmware.com, simon@2ndQuadrant.com, katsumata.tomonari@po.ntts.co.jp
Subject: Re: BUG #7803: Replication Problem(no master is there)
In-Reply-To: <50EFDAA2.3000404@vmware.com>
References: <E1TtVvj-0004B3-2Z@wrigleys.postgresql.org> <50EFCFF5.4040109@vmware.com> <CA+U5nM+xdeL1oTSxE8i3Onx_xNsCyTOtaex064vvbji96adM5g@mail.gmail.com> <50EFDAA2.3000404@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox