Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrnf0-0005kN-2L for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Jun 2021 20:21:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lrney-0001oZ-Vz for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Jun 2021 20:21:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrney-0001oR-5n for pgsql-hackers@lists.postgresql.org; Fri, 11 Jun 2021 20:21:44 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrner-0001xL-9W for pgsql-hackers@lists.postgresql.org; Fri, 11 Jun 2021 20:21:43 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 3B8F18EE; Fri, 11 Jun 2021 16:21:33 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 11 Jun 2021 16:21:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=5LVjKuDOAwNCZh5dWRa5Cd/GdSfw+YrjnydPo+sugtQ=; b=tTxknJfX jluMM7fwGVvyZuiNKfABFRyJq48I2QuxHLEMtml2/EhN/ip4wFl93/UILRC72jR5 daQYqTUU0gybOQ6MgpCk4doTn+zsfyd5AqAvlu6EOOur0Pmsmqy2pzFRNJbuitKd P5yVBjRlAMGERbbMT6NINvVEOtLZAsr4+0CBShBtADTCEzgE5Z5AUWOwbbfdvyae KSTpBZFZ9dAznGTofDSHBeyUxkhOa3HXoljeRYHwMGJcgLyYCRX6YPRNYgA9oNzq +S339w91VR+0wtsYSqbNXq3Cv+qp/ngElvzh92MFFmsK+qur3dJYVusb3pu3AGvI g4Rva6UoTXHlJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfedukedgheegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjsehtkeertddttddunecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpeelueevieejkeefjeffkeehheekueeikedvkeelleffheef tdeflefgtefgudffgeenucffohhmrghinheplhifnhdrnhgvthenucevlhhushhtvghruf hiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhh rdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 11 Jun 2021 16:21:31 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 2109A2A0A89; Fri, 11 Jun 2021 16:21:29 -0400 (-04) Date: Fri, 11 Jun 2021 16:21:29 -0400 From: Alvaro Herrera To: Tom Lane Cc: Yura Sokolov , pgsql-hackers@lists.postgresql.org Subject: Re: Add PortalDrop in exec_execute_message Message-ID: <202106112021.gikzmhvoeoru@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1428037.1623265668@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Jun-09, Tom Lane wrote: > BTW, to be clear: I think Alvaro's change is also necessary. > If libpq is going to silently do something different in pipeline > mode than it does in normal mode, it should strive to minimize > the semantic difference. exec_simple_query includes a PortalDrop, > so we'd best do the same in pipeline mode. Pushed that patch, thanks. -- Álvaro Herrera Valdivia, Chile "At least to kernel hackers, who really are human, despite occasional rumors to the contrary" (LWN.net)