pgsql: Override log_error_verbosity to "default" in test 009_log_temp_f

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Override log_error_verbosity to "default" in test 009_log_temp_f
Date: 2025-10-16 02:40:44
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Override log_error_verbosity to "default" in test 009_log_temp_files

Per report from buildfarm member prion. The CI does not use this
parameter, and this buildfarm member sets log_error_verbosity to
"verbose". This would generate extra LOCATION entries in the logs,
causing the regexps of the test to fail.

Trying to support log_error_verbosity=verbose in the test would mean to
tweak all the regexps used in the test to detect an optional set of
LOCATION lines, at least. This would not improve the coverage, and
forcing the GUC value is simpler.

Oversight in 76bba033128a.

Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/02c171f63fca870d55c4b184a4b7c0cebb06faa1

Modified Files
--------------
src/test/modules/test_misc/t/009_log_temp_files.pl | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2025-10-16 04:19:36 Re: pgsql: Move gramparse.h to src/backend/parser
Previous Message Michael Paquier 2025-10-16 00:04:02 pgsql: Add tests for logging of temporary file removal and statement