Re: logical changeset generation v3

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: logical changeset generation v3
Date: 2012-11-21 09:35:34
Message-ID: CAB7nPqRTqdeHiX+X6bBZK6d=A2vUCSX71ikKjhr94_XiyXRmQA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 21, 2012 at 4:34 PM, Andres Freund <andres(at)2ndquadrant(dot)com>wrote:

> On 2012-11-21 14:57:08 +0900, Michael Paquier wrote:
>
> Ah, I see. Could you try the following diff?
>
> diff --git a/src/backend/replication/logical/snapbuild.c
> b/src/backend/replication/logical/snapbuild.c
> index df24b33..797a126 100644
> --- a/src/backend/replication/logical/snapbuild.c
> +++ b/src/backend/replication/logical/snapbuild.c
> @@ -471,6 +471,7 @@ SnapBuildDecodeCallback(ReorderBuffer *reorder,
> Snapstate *snapstate,
> */
> snapstate->transactions_after = buf->origptr;
>
> + snapstate->nrrunning = running->xcnt;
> snapstate->xmin_running = InvalidTransactionId;
> snapstate->xmax_running = InvalidTransactionId;
>
I am still getting the same assertion failure even with this diff included.
--
Michael Paquier
http://michael.otacoo.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2012-11-21 10:31:58 Re: FDW for PostgreSQL
Previous Message Shigeru Hanada 2012-11-21 08:53:24 Re: FDW for PostgreSQL