Re: pgsql: Drop unnamed portal immediately after execution to completion - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgsql: Drop unnamed portal immediately after execution to completion
Date
Msg-id aReplkCd0YIkS5AH@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Drop unnamed portal immediately after execution to completion  (Mircea Cadariu <cadariu.mircea@gmail.com>)
List 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.

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

Attachment

pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: postgresql.conf.sample tab width
Next
From: Thomas Munro
Date:
Subject: Re: Confused static assertion implementation