Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5z2e-0002cY-1o for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Sep 2019 21:11:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i5z2c-0006Yz-SS for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Sep 2019 21:11:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i5z2b-00066m-KI for pgsql-hackers@lists.postgresql.org; Thu, 05 Sep 2019 21:11:42 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i5z2Y-0003Fi-Vw for pgsql-hackers@lists.postgresql.org; Thu, 05 Sep 2019 21:11:40 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id CA35821FBA; Thu, 5 Sep 2019 17:11:37 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 05 Sep 2019 17:11:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=fawVg+GnOwDxwQQbVZbnhTXGwNe pt2oUog+AV4HOW0k=; b=D2qxRFRC1dQWYKqub7sUQd2cAVUSsrS0xtFaFqPnw4q 6pXtwGxQ1+JMxanVlKogL2+gUiHIHk5VqRk5rRGIXiORMKc5/oyKXExKr8UrrUfd L+PL94dFprrmxTGh3vyeYJFD1VCn+mYdzMcWgAytcz+zjDrTw/pOD6fz2fK6dIdO XXQMHucMZ4+1RdiGRzy3cXxl/1URITxoT+eVuFnbkA5vDXO5RlAKwXptadCyIDTj v8ovkLMXIVlGLNgN/9U9qLx1Kdubi8+wEap8usfkBp5GeoZcn6fFPyHk8246Q1U6 uIjY+ZH+sZIeeQqytaDlIl/r7c+FHq07uYfxlKS8plQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=fawVg+ GnOwDxwQQbVZbnhTXGwNept2oUog+AV4HOW0k=; b=EfSezcUAZ1Zwu9vrRIr9oh VkwinTPstr31V+uVz5EqmGEYyeyFe9D7UeVxKToKmZQP6eyoGJcW4tLYZVZ104u2 JEhz6vjCPyP4XETthH2S8mKVr4o9UIN//rrhdjpOiEoyKCVv2MHxZI7VKtCP0A1K pCyL66m6gv0jJh8TE4MbyY6YxeuBj6NwwXhmvf5yeId2w/6OvAGH7+WqmQBT4weD Q0SLIP1oCzjfLdF/LQTTub7xc8GNsk1csFWcD6qND/6KjQTlcgggg/4Ao8o7ejt/ 2oHAROST8+obToCa+2Be8znAmiXf5uDaVdlTj6KEpgT1tNTlHZfkhOjW4R4NYHkw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudejjedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecukfhppe dvrddvtddtrdelhedrudekgeenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvghs segrnhgrrhgriigvlhdruggvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from intern.anarazel.de (dslb-002-200-095-184.002.200.pools.vodafone-ip.de [2.200.95.184]) by mail.messagingengine.com (Postfix) with ESMTPA id EBFE4D6005B; Thu, 5 Sep 2019 17:11:36 -0400 (EDT) Date: Thu, 5 Sep 2019 14:11:35 -0700 From: Andres Freund To: Peter Eisentraut Cc: fn ln , Fabien COELHO , PostgreSQL Developers Subject: Re: BUG #15977: Inconsistent behavior in chained transactions Message-ID: <20190905211135.q63scps3pvrc3i43@alap3.anarazel.de> References: <8655dc29-8d50-162d-deaf-fa0329dfed51@2ndquadrant.com> <20190904075305.2gkf5z4r6xwgxcwf@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2019-09-05 14:16:11 +0200, Peter Eisentraut wrote: > On 2019-09-04 16:49, fn ln wrote: > > I made another patch for suggested behavior (COMMIT/ROLLBACK AND CHAIN > > now gives us an error when used in an implicit block). > > I'm content with this patch. Would need tests. > Better disable questionable cases now and maybe re-enable them later > if someone wants to make a case for it. I do think the fact that COMMIT in multi-statement implicit transaction has some usecase, is an argument for just implementing it properly... Greetings, Andres Freund