pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomonari Katsumata <katsumata.tomonari@po.ntts.co.jp>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #7803: Replication Problem(no master is there)
Date: Tue, 15 Jan 2013 14:12:14 +0900
Message-ID: <50F4E52E.9000603@po.ntts.co.jp> (raw)
In-Reply-To: <CA+U5nM+T7UbzziULTx22sSQQqvXqJ-AVzzdqDn-q=4k94pu_Ew@mail.gmail.com>
References: <E1TtVvj-0004B3-2Z@wrigleys.postgresql.org>
	<50EFCFF5.4040109@vmware.com>
	<50F00301.1060301@po.ntts.co.jp>
	<CA+U5nM+T7UbzziULTx22sSQQqvXqJ-AVzzdqDn-q=4k94pu_Ew@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hi,

Sorry for late response.

(2013/01/11 23:11), Simon Riggs wrote:
 > On 11 January 2013 12:18, Tomonari Katsumata
 > <katsumata.tomonari@po.ntts.co.jp> wrote:
 >
 >> I'm not sure but what about adding the parameter("cascade_mode") on
 >> recovery.conf ?
 >> The parameter represents a will to connect to standby server when 
starting
 >> as standby.
 >> If the parameter is set to on, connect to a server forcely like 
PostgreSQL
 >> 9.2,
 >> and if the parameter is set to off, connect to the another standby 
server is
 >> refused like PostgreSQL 9.1.
 >
 > We added a REPLICATION privelge onto user accounts to control access.
 >
 > Perhaps we should add a CASCADE privilege as well, so that we can
 > control whether we can connect to a master and/or a standby.
 >
 > Syntax would be
 >
 > ALTER USER foo
 > [MASTER | CASCADE] REPLICATION
 >
 > REPLICATION allows both master and cascaded replication (same as now)
 > MASTER REPLICATION allows master only
 > CASCADE REPLICATION allows cascaded replication only
 > NOREPLICATION allows neither option
 >

This idea seems better than mine.

Someone is working for it already ?
If not yet, may I try to implement it ?

regards,
--------
NTT Software Corporation
  Tomonari Katsumata




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (11+ messages)  latest in thread

Message-ID: <50F4E52E.9000603@po.ntts.co.jp>
Permalink:  ../50F4E52E.9000603@po.ntts.co.jp/
Also on:    postgresql.org/message-id/50F4E52E.9000603@po.ntts.co.jp

 · 

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 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: katsumata.tomonari@po.ntts.co.jp, simon@2ndQuadrant.com
  Subject: Re: BUG #7803: Replication Problem(no master is there)
  In-Reply-To: <50F4E52E.9000603@po.ntts.co.jp>
  References: <E1TtVvj-0004B3-2Z@wrigleys.postgresql.org> <50EFCFF5.4040109@vmware.com> <50F00301.1060301@po.ntts.co.jp> <CA+U5nM+T7UbzziULTx22sSQQqvXqJ-AVzzdqDn-q=4k94pu_Ew@mail.gmail.com> <50F4E52E.9000603@po.ntts.co.jp>

* 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