pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Huan Ruan <leohuanruan@gmail.com>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14319: Logical decoding dropping statements in subtransactions
Date: Mon, 3 Oct 2016 01:16:39 -0700
Message-ID: <20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de> (raw)
In-Reply-To: <CAGgcTZsjZw3LJVJhtQntRN70zJfxM47o_jy82z2dVZC_mNG9Pg@mail.gmail.com>
References: <20160909012610.20024.58169@wrigleys.postgresql.org>
	<CAB7nPqSvrUR5j1bhnBbYspvCEj3T_o4JCjoh62LDM9innUqcvA@mail.gmail.com>
	<CAGgcTZu_r10xoahm8ULnZNGE1_nRuVJ4k9asrngSf75r08tAng@mail.gmail.com>
	<CAB7nPqTsVXuXb-YsVnNHHa4f8KmXEBgFkjid_VUAyzza9UjbjQ@mail.gmail.com>
	<CAGgcTZuc3T8ejarGWcz3Sf7DfCowH0+xCd_uPnArDC6YBzxRcg@mail.gmail.com>
	<CAGgcTZuDfMi0j5Y-waaY6MbFrSSoGKUA87cb7tP6pmKck+FDRg@mail.gmail.com>
	<3EA4669B-6D4A-44AC-9BCA-12532780E9B4@anarazel.de>
	<CAGgcTZsjZw3LJVJhtQntRN70zJfxM47o_jy82z2dVZC_mNG9Pg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 2016-09-20 00:53:49 +0000, Huan Ruan wrote:
> On Tue, 20 Sep 2016 at 04:53 Andres Freund <andres@anarazel.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

Attachments:

  0001-Correct-logical-decoding-restore-behaviour-for-subtr.patch (text/x-patch, 0B) download

view thread (12+ messages)  latest in thread

Message-ID: <20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de>
Permalink:  ../20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: andres@anarazel.de, leohuanruan@gmail.com, michael.paquier@gmail.com
  Subject: Re: BUG #14319: Logical decoding dropping statements in subtransactions
  In-Reply-To: <20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de>
  References: <20160909012610.20024.58169@wrigleys.postgresql.org> <CAB7nPqSvrUR5j1bhnBbYspvCEj3T_o4JCjoh62LDM9innUqcvA@mail.gmail.com> <CAGgcTZu_r10xoahm8ULnZNGE1_nRuVJ4k9asrngSf75r08tAng@mail.gmail.com> <CAB7nPqTsVXuXb-YsVnNHHa4f8KmXEBgFkjid_VUAyzza9UjbjQ@mail.gmail.com> <CAGgcTZuc3T8ejarGWcz3Sf7DfCowH0+xCd_uPnArDC6YBzxRcg@mail.gmail.com> <CAGgcTZuDfMi0j5Y-waaY6MbFrSSoGKUA87cb7tP6pmKck+FDRg@mail.gmail.com> <3EA4669B-6D4A-44AC-9BCA-12532780E9B4@anarazel.de> <CAGgcTZsjZw3LJVJhtQntRN70zJfxM47o_jy82z2dVZC_mNG9Pg@mail.gmail.com> <20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox