Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs - Mailing list pgsql-hackers

From Shulgin, Oleksandr
Subject Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs
Date
Msg-id CACACo5RBENpspwpp1Pwd=9DDt+F7U1W-qOukBvGROVr9amGwmA@mail.gmail.com
Whole thread Raw
In response to Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On Wed, Jan 20, 2016 at 9:26 AM, Craig Ringer <craig@2ndquadrant.com> wrote:
On 20 January 2016 at 15:50, Shulgin, Oleksandr <oleksandr.shulgin@zalando.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

pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Stream consistent snapshot via a logical decoding plugin as a series of INSERTs
Next
From: Tatsuo Ishii
Date:
Subject: Re: Why format() adds double quote?