On Wed, Nov 21, 2012 at 4:34 PM, Andres Freund <and...@2ndquadrant.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

Reply via email to