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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Mircea Cadariu <cadariu.mircea@gmail.com>
Cc: Guillaume Lelarge <guillaume.lelarge@dalibo.com>, Sami Imseih <samimseih@gmail.com>, Frédéric Yhuel <frederic.yhuel@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-10-16T02:36:36Z
Lists: pgsql-hackers
On Thu, Oct 16, 2025 at 10:18:39AM +0900, Michael Paquier wrote:
> Another thing I have added is a check for STATEMENT in the two tests
> where we do not expected a statement to be logged.  I have also done a
> couple more runs in the CI and locally, without noticing any failures,
> so applied the result.  Now let's see if the buildfarm says something.
> The first results are stable, I'll keep an eye on the whole.

prion has just failed because it uses log_error_verbosity = verbose:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=prion&dt=2025-10-16%2001%3A23%3A06

Will address this one in a bit..
--
Michael

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