Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs

From: "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>
To: Craig Ringer <craig(at)2ndquadrant(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs
Date: 2016-01-20 08:35:55
Message-ID: CACACo5RBENpspwpp1Pwd=9DDt+F7U1W-qOukBvGROVr9amGwmA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 20, 2016 at 9:26 AM, Craig Ringer <craig(at)2ndquadrant(dot)com> wrote:

> On 20 January 2016 at 15:50, Shulgin, Oleksandr <
> oleksandr(dot)shulgin(at)zalando(dot)de> wrote:
>
> That'd be nice, but probably not totally necessary for streaming
> relations. It doesn't really need the slot at all. Or shouldn't, I think.
> Though it might be easiest to allow it to acquire the slot just for
> convenience and shared code.
>

Yes, before looking at the code I thought I could do without a slot, but
dependency on MyReplicationSlot being set in a number of places has forced
me to actually acquire it, in order to keep the changes more contained.

--
Alex

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John R Pierce 2016-01-20 08:42:48 Re: [HACKERS] Window2012R2: initdb error: "The current directory is invalid."
Previous Message Craig Ringer 2016-01-20 08:30:12 Re: [HACKERS] Window2012R2: initdb error: "The current directory is invalid."