Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bqyRI-0007iZ-Gw for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Oct 2016 08:17:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bqyRI-00021x-3i for pgsql-bugs@arkaria.postgresql.org; Mon, 03 Oct 2016 08:17:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bqyQd-0000cj-9X for pgsql-bugs@postgresql.org; Mon, 03 Oct 2016 08:16:51 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bqyQV-0000B1-JY for pgsql-bugs@postgresql.org; Mon, 03 Oct 2016 08:16:50 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 1048720802; Mon, 3 Oct 2016 04:16:42 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 03 Oct 2016 04:16:42 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=mSJARXLsILVY4uwhxFXQlLQOV9g=; b=PlYOw NJEHE1YzbQ8PzJpWPeCFOLgbNnMSV5GStbOX46/nT6iKltKp5NRZAt+lq/RXQG7E KV/ivHzWNWF26zqUiUvYSZ2v7Mpncks9WfnAhl9DD3hU/YkvYyvYK74Cuwlqfl6f UoYZZ/FAKHskxr8y0S4XFvsGtvfaVQa9jFNVqY= X-Sasl-enc: sXfJaBhhYPsQwgbECcdWk8gEtO3wS1u7xrCDeQymmKBU 1475482601 Received: from intern.anarazel.de (unknown [199.87.86.247]) by mail.messagingengine.com (Postfix) with ESMTPA id 6F257F2988; Mon, 3 Oct 2016 04:16:41 -0400 (EDT) Date: Mon, 3 Oct 2016 01:16:39 -0700 From: Andres Freund To: Huan Ruan Cc: Michael Paquier , PostgreSQL mailing lists Subject: Re: BUG #14319: Logical decoding dropping statements in subtransactions Message-ID: <20161003081639.kxltcuh44a6c32x4@alap3.anarazel.de> References: <20160909012610.20024.58169@wrigleys.postgresql.org> <3EA4669B-6D4A-44AC-9BCA-12532780E9B4@anarazel.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b3hhn4owgg3wof7f" Content-Disposition: inline In-Reply-To: X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --b3hhn4owgg3wof7f Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On 2016-09-20 00:53:49 +0000, Huan Ruan wrote: > On Tue, 20 Sep 2016 at 04:53 Andres Freund 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 --b3hhn4owgg3wof7f Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="0001-Correct-logical-decoding-restore-behaviour-for-subtr.patch"