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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: Drop unnamed portal immediately after execution to completion
Дата
Msg-id aReplkCd0YIkS5AH@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: Drop unnamed portal immediately after execution to completion  (Mircea Cadariu <cadariu.mircea@gmail.com>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления: