Re: BUG #14319: Logical decoding dropping statements in subtransactions

From: Andres Freund <andres(at)anarazel(dot)de>
To: Huan Ruan <leohuanruan(at)gmail(dot)com>
Cc: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14319: Logical decoding dropping statements in subtransactions
Date: 2016-10-03 08:16:39
Message-ID: 20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2016-09-20 00:53:49 +0000, Huan Ruan wrote:
> On Tue, 20 Sep 2016 at 04:53 Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> > I'll new looking into the issue.

> Thanks Andres.

Found the issue, and a fix. Wrote a good number of tests. Too tired to
commit tonight, will do so tomorrow.

The issue isn't actually related to the commit Michael pointed out. I
don't think the results were correct before the last release either :(

Attached the patch, but it needs some minor amount of polish.

Greetings,

Andres Freund

Attachment Content-Type Size
0001-Correct-logical-decoding-restore-behaviour-for-subtr.patch text/x-patch 30.3 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Huan Ruan 2016-10-03 08:28:46 Re: BUG #14319: Logical decoding dropping statements in subtransactions
Previous Message Kyotaro HORIGUCHI 2016-10-03 08:14:06 Re: BUG #14349: Parse failure (?) when LIKE swapped out for ~~