Re: Cascading replication: should we detect/prevent cycles? - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Cascading replication: should we detect/prevent cycles?
Date
Msg-id CA+U5nMKq6qkfNtAYzM6LyAyefBLT+QJWC7ot+8ZnoNQ3xV1KXQ@mail.gmail.com
Whole thread Raw
In response to Cascading replication: should we detect/prevent cycles?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Cascading replication: should we detect/prevent cycles?  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
On 19 December 2012 03:03, Josh Berkus <josh@agliodbs.com> wrote:

> So, my question is:
>
> 1. should we detect for replication cycles?  *Can* we?
> 2. should we warn the user, or refuse to start up?

Why not just monitor the config you just created? Anybody that
actually tests their config would spot this.

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



pgsql-hackers by date:

Previous
From: Shigeru Hanada
Date:
Subject: Re: proposal - assign result of query to psql variable
Next
From: Simon Riggs
Date:
Subject: Re: Feature Request: pg_replication_master()