pgsql: Override log_error_verbosity to "default" in test 009_log_temp_f - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Override log_error_verbosity to "default" in test 009_log_temp_f
Date
Msg-id E1v9Dv2-001uZx-0F@gemulon.postgresql.org
Whole thread Raw
List 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/aPBaNNGiYT3xMBN1@paquier.xyz

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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add tests for logging of temporary file removal and statement
Next
From: John Naylor
Date:
Subject: Re: pgsql: Move gramparse.h to src/backend/parser