Re: [BUG] temporary file usage report with extended protocol and unnamed portals
Mircea Cadariu <cadariu.mircea@gmail.com>
From: Mircea Cadariu <cadariu.mircea@gmail.com>
To: Sami Imseih <samimseih@gmail.com>, Michael Paquier <michael@paquier.xyz>, Frédéric Yhuel <frederic.yhuel@dalibo.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Benoit Lobréau <benoit.lobreau@dalibo.com>, Guillaume Lelarge <guillaume.lelarge@dalibo.com>, Pierrick Chovelon <pierrick.chovelon@dalibo.com>
Date: 2025-09-19T10:26:46Z
Lists: 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