Re: [HACKERS] 2PC support for pglogical

2016-03-25 Thread Craig Ringer
On 24 March 2016 at 22:20, Stas Kelvich wrote: > > I think all the locking already handled properly by creating dummy backend > in PGPROC, as it done in usual postgres 2pc implementation. > > On the downstream, yes. But what about the decoding, reorder buffer and

Re: [HACKERS] 2PC support for pglogical

2016-03-24 Thread Stas Kelvich
> On 24 Mar 2016, at 17:03, Robert Haas wrote: > > On Wed, Mar 23, 2016 at 1:44 AM, Craig Ringer wrote: >> On 10 March 2016 at 22:50, Stas Kelvich wrote: >>> Hi. >>> >>> Here is proof-of-concept version of two phase

Re: [HACKERS] 2PC support for pglogical

2016-03-24 Thread Robert Haas
On Wed, Mar 23, 2016 at 1:44 AM, Craig Ringer wrote: > On 10 March 2016 at 22:50, Stas Kelvich wrote: >> Hi. >> >> Here is proof-of-concept version of two phase commit support for logical >> replication. > > I missed this when you posted it, so

Re: [HACKERS] 2PC support for pglogical

2016-03-22 Thread Craig Ringer
On 10 March 2016 at 22:50, Stas Kelvich wrote: > Hi. > > Here is proof-of-concept version of two phase commit support for logical > replication. I missed this when you posted it, so sorry for the late response. I've read through this but not tested it yet. I really