Re: [BUG] temporary file usage report with extended protocol and unnamed portals

Поиск
Список
Период
Сортировка
От Mircea Cadariu
Тема Re: [BUG] temporary file usage report with extended protocol and unnamed portals
Дата
Msg-id ccf299d6-8655-4f04-b18b-6c0c21606942@gmail.com
обсуждение исходный текст
Ответ на Re: [BUG] temporary file usage report with extended protocol and unnamed portals  (Sami Imseih <samimseih@gmail.com>)
Ответы Re: [BUG] temporary file usage report with extended protocol and unnamed portals
Список pgsql-hackers

Hi,

On 18/09/2025 18:06, Sami Imseih wrote:
The "everything" also includes the query_text.

This makes me wonder then if all it takes is just adding this to PortalDrop (proposed earlier in the thread by Frédéric):

if (portal->queryDesc)
    debug_query_string = portal->queryDesc->sourceText; 

I tried it out and the tests in v12-0002 pass.  

Kind regards,

Mircea Cadariu

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