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

From: Mircea Cadariu <cadariu(dot)mircea(at)gmail(dot)com>
To: Sami Imseih <samimseih(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Frédéric Yhuel <frederic(dot)yhuel(at)dalibo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Benoit Lobréau <benoit(dot)lobreau(at)dalibo(dot)com>, Guillaume Lelarge <guillaume(dot)lelarge(at)dalibo(dot)com>, Pierrick Chovelon <pierrick(dot)chovelon(at)dalibo(dot)com>
Subject: Re: [BUG] temporary file usage report with extended protocol and unnamed portals
Date: 2025-09-19 10:26:46
Message-ID: ccf299d6-8655-4f04-b18b-6c0c21606942@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tender Wang 2025-09-19 10:48:05 Fix typo in comment of match_orclause_to_indexcol()
Previous Message Nazir Bilal Yavuz 2025-09-19 10:23:48 Re: Meson0.57.2 setup failed with option -Duuid=ossp