| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix log_statement_max_length test with verbose logs |
| Date: | 2026-07-03 05:43:04 |
| Message-ID: | E1wfWg5-0018vI-0b@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix log_statement_max_length test with verbose logs
Buildfarm member prion reported a failure in the test added by commit
c8bd8387c27 to verify that the server logs an empty statement body
when log_statement_max_length = 0.
The test assumed that "statement:" would appear immediately after
"LOG:" in the logged statement message. However, prion runs with
log_error_verbosity = verbose, which inserts the SQLSTATE between
"LOG:" and the message text. As a result, the test failed even though
the server behaved correctly.
Per buildfarm member prion.
Discussion: https://postgr.es/m/CAHGQGwFiQKwvLVG+U0WWNo2kgkQ88FVGhYH_MBZu9Y0SJ8BjDw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9bfbf5bf61901b57d86fab20559b7973b5a83298
Modified Files
--------------
src/test/modules/test_misc/t/014_log_statement_max_length.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2026-07-03 08:40:33 | pgsql: Add commit fdad19e1cf to .git-blame-ignore-revs. |
| Previous Message | Fujii Masao | 2026-07-03 04:55:52 | pgsql: psql: Fix \df tab completion for procedures |