Override log_error_verbosity to "default" in test 009_log_temp_files
authorMichael Paquier <michael@paquier.xyz>
Thu, 16 Oct 2025 02:39:45 +0000 (11:39 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 16 Oct 2025 02:39:45 +0000 (11:39 +0900)
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/aPBaNNGiYT3xMBN1@paquier.xyz

src/test/modules/test_misc/t/009_log_temp_files.pl

index 0bc7ddc7d6ed206970a6efc8022739b1d7780bd1..462a949e41141507834c4b4a9c1c979856dd7c88 100644 (file)
@@ -18,6 +18,7 @@ $node->append_conf(
 work_mem = 64kB
 log_temp_files = 0
 debug_parallel_query = off
+log_error_verbosity = default
 ));
 $node->start;