Re: Logical replication woes - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Logical replication woes
Date
Msg-id 20140515205820.GE16014@awork2.anarazel.de
Whole thread Raw
In response to Re: Logical replication woes  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Logical replication woes  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List pgsql-hackers
On 2014-05-15 22:30:53 +0300, Heikki Linnakangas wrote:
> >Attached patch fixes things, but I want to add some regression tests
> >before commit.
>
> Looks good to me.

Attached are two patches. One for the unitialized dbId/tsId issue; one
for the decoding bug. The former should be backpatched.
Should you wonder about the slight reordering of the assignments in
RecordTransactionCommitPrepared() - I've made it more similar to RecordTransactionCommit()
to make it easier to see they are equivalent.

Thanks for the testing!

Greetings,

Andres Freund

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

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: buildfarm animals and 'snapshot too old'
Next
From: Andres Freund
Date:
Subject: pg_recvlogical tests