Re: pgsql: Drop unnamed portal immediately after execution to completion

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Mircea Cadariu <cadariu(dot)mircea(at)gmail(dot)com>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Frédéric Yhuel <frederic(dot)yhuel(at)dalibo(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Drop unnamed portal immediately after execution to completion
Date: 2025-11-16 23:11:52
Message-ID: aRpaOKHZLR_lJxHb@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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.

Done this one as e7cde9dad285.
--
Michael

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-11-16 23:27:54 pgsql: Adjust MemSet macro to use size_t rather than long
Previous Message Michael Paquier 2025-11-16 23:11:24 pgsql: Add test for temporary file removal and WITH HOLD cursor

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2025-11-16 23:37:25 Re: Some efforts to get rid of "long" in our codebase
Previous Message Michael Paquier 2025-11-16 22:46:08 Re: Improve error reporting in 027_stream_regress test