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

Frédéric Yhuel <frederic.yhuel@dalibo.com>

From: Frédéric Yhuel <frederic.yhuel@dalibo.com>
To: Michael Paquier <michael@paquier.xyz>, Sami Imseih <samimseih@gmail.com>
Cc: Mircea Cadariu <cadariu.mircea@gmail.com>, Guillaume Lelarge <guillaume.lelarge@dalibo.com>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Benoit Lobréau <benoit.lobreau@dalibo.com>, Pierrick Chovelon <pierrick.chovelon@dalibo.com>
Date: 2025-11-07T08:06:46Z
Lists: pgsql-hackers

On 11/5/25 6:44 AM, Michael Paquier wrote:
> After looking again at the thread, I have decided to credit all three
> of you as authors of this patch.  Frederic has spent what I guess is a
> lot of time on analyzing this, and then both Sami and Mircea have
> followed up.  This way, nobody should be jealous.
> 
> Then done on HEAD.  If this proves to be a problem and that we have to
> revert 1fd981f05369 for v19, at least we'll have the tests moving
> forward.  Anyway, let's have this change brew for now.

Thank you Micheal 🙂👍🏼




Commits

  1. Drop unnamed portal immediately after execution to completion

  2. Override log_error_verbosity to "default" in test 009_log_temp_files

  3. Add tests for logging of temporary file removal and statement