Re: Logical Replication WIP

From: Steve Singer <steve(at)ssinger(dot)info>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Petr Jelinek <petr(at)2ndquadrant(dot)com>, Craig Ringer <craig(at)2ndquadrant(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Erik Rijkers <er(at)xs4all(dot)nl>
Subject: Re: Logical Replication WIP
Date: 2016-09-21 03:35:12
Message-ID: alpine.DEB.2.11.1609202331400.22223@opti.atlantida
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 20 Sep 2016, Peter Eisentraut wrote:

> On 9/18/16 4:17 PM, Steve Singer wrote:

>
> I think if we want to prevent the creation of subscriptions that point
> to self, then we need to create a magic token when the postmaster starts
> and check for that when we connect. So more of a running-instance
> identifier instead of a instance-on-disk identifier.
>
> The other option is that we just allow it and make it more robust.

I think we should go with the second option for now. I feel that the effort
is better spent making sure that initial syncs that have don't subscribe
(for whatever reasons) can be aborted instead of trying to build a concept of
node identity before we really need it.

Steve

>
> --
> Peter Eisentraut http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-09-21 03:40:41 Re: Tracking wait event for latches
Previous Message Dilip Kumar 2016-09-21 03:17:52 Re: Speed up Clog Access by increasing CLOG buffers