Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vK23Q-00CjY0-21 for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Nov 2025 22:14:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vK23O-008MJy-0l for pgsql-hackers@arkaria.postgresql.org; Fri, 14 Nov 2025 22:14:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vK23N-008MJq-1R for pgsql-hackers@lists.postgresql.org; Fri, 14 Nov 2025 22:14:01 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1vK23L-007AW0-2h for pgsql-hackers@lists.postgresql.org; Fri, 14 Nov 2025 22:14:00 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 6D884EC0136; Fri, 14 Nov 2025 17:13:58 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Fri, 14 Nov 2025 17:13:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1763158438; x=1763244838; bh=2XlpxZmDB/ nX1BCZPBNCTjOJYkcAvzclX1/wy/f9LyE=; b=VDcDEykNyD6Fv2SWg+mylHI5Hr l+QtZXHGZ9siPHrymDttfsViPkP5/xayyDaH5Ae5pp+NIYdE56jzMphw+Ld4qv+D +kb+avams7NXBXOWs8HTDdMf+Rr4Pfpa25WMYq6BNNCl6xfYBNkbLjGbPqPzAQTd DMYWJkqV4644wiW0VhSqJmUz3TmaZnRdDDV/PnNkQuJEn1DG6fBGkVLCchWcOcTA IHaE/i+W0LVP4XRVnUBnxP7Kmp+850ek2cKf+XQRlsApaGcm4ZcvTMx38yeMDfKP PNX4XCd7ObWD+ZaGsbWXA2ZCk+bbMbbEixNLqyDZRELjyNsZ+/6GZVbCdmng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1763158438; x=1763244838; bh=2XlpxZmDB/nX1BCZPBNCTjOJYkcAvzclX1/ wy/f9LyE=; b=cR9Vlu0X0Imn5wncxnH/qcPc2ITOAJLhngP86AptgTToFkSxtIw L0dw6ktY8NVApXznlixN5N7rWpMNAi9m2IujQpCmpTgZTCL6A4S74ptpet1rHtf0 aWs0CzPAaNVzfO6XFaJDx1LPNvGIwgwi8qRh4wYADzN6RAfl6kUKm1TEibPEMN+I o3rNOTeD3YwWb7/3hGooDNiuzG188QOewuOebWEQxXLCdDvj+cSjLz3IWdQt765X ZRkDWGRsCY6u6AYPdawg1zTKtChiAVYb+hdFT8xwKDVqm0PLovoxdMc01Hj2TvcP 2WmatdwlZbtONZFqyffI3JalSSwZzO1i0Fw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvuddtleelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepiedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptggrug grrhhiuhdrmhhirhgtvggrsehgmhgrihhlrdgtohhmpdhrtghpthhtohepshgrmhhimhhs vghihhesghhmrghilhdrtghomhdprhgtphhtthhopehrohgsvghrthhmhhgrrghssehgmh grihhlrdgtohhmpdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhushdprhgt phhtthhopehfrhgvuggvrhhitgdrhihhuhgvlhesuggrlhhisghordgtohhmpdhrtghpth htohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdho rhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 14 Nov 2025 17:13:55 -0500 (EST) Date: Sat, 15 Nov 2025 07:13:42 +0900 From: Michael Paquier To: Mircea Cadariu Cc: Sami Imseih , Robert Haas , Tom Lane , =?iso-8859-1?Q?Fr=E9d=E9ric?= Yhuel , PostgreSQL Hackers Subject: Re: pgsql: Drop unnamed portal immediately after execution to completion Message-ID: References: <1982325.1762810082@sss.pgh.pa.us> <00d71a54-2118-4b18-87e8-33f4a99dc624@gmail.com> <0a666d28-9080-4239-90d6-f6345bb43468@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4F0FceY47OOusMsU" Content-Disposition: inline In-Reply-To: <0a666d28-9080-4239-90d6-f6345bb43468@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --4F0FceY47OOusMsU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Nov 14, 2025 at 03:10:32PM +0000, Mircea Cadariu wrote: > What's interesting about the holdable cursors scenario is that as far as I > can tell the temp files are cleaned up during PersistHoldablePortal instead > of PortalDrop. As part of the ExecutorEnd() done in this case. Right, it looks like a good thing to track this behavior as well in the long-run. I'll double-check that later. -- Michael --4F0FceY47OOusMsU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmkXqZYACgkQnvQgOdby QH147g//UQfP7RyQ6n+4gYWuqE5aOHqpoO1HuGulHEdFV90h+LHvLSzHNQIuP4Uu WCgrNi5Zm0WsJZSKA/hePrg/VAyBJWwTkGquZKxzviaqQKiLkU8GEWiNOOzIrxjK bSp1XUx6dreFnYJqLf9/JgfxNtOkWjxcd+tVeTgsMuScvYYGmXWZg5wjhwn552rS fjlgn9GdZ1kXNBKKanr4nIgH54Q7xqTsDXLIA8T2FaGGx1SBR9jhlnDGbCqABZhy ErkuSWV/LFdouEGh/bXci2YYDFolDCr8ajNcrdDYkAgUpTz/ZcCxlEARZox6lJl/ ylAG+5SerXAKlIEaTGR4k/8qklNoAyHFqVTKNlLb3Vik6exvvSGbKGh7zi0zNmGc s/6R1N99K720p8EqJLwVt1jgSW5bvd6F2kDkoElr1x4r6LvcI3gGFkPUueahi/Oi UTAHshArRwWsEYWdhF4ta6jTfvioZABsld/jHnZOuHH4X4zTR8kF20MlMN5GwpPy bdAjLlB5iuzgHHYzsn/mgRwTYRSqqCklfJCPwfHM/UFx3uZZKHltEwLf7uxUZ2tR CazUM7RUt6++eaONEk9+neOWlDEq0SiEDACemgbQ6fladv1ExRkwUmEL0tgqn3X4 mkQhEnko/MjuJQVbiTppGotYEF9V4eWVyvvY9/WfXc85FB5l4y4= =j7cV -----END PGP SIGNATURE----- --4F0FceY47OOusMsU--