pgsql: tests: Make postmaster/002_connection_limits deal verbose logs

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: tests: Make postmaster/002_connection_limits deal verbose logs
Date: 2025-03-10 23:33:57
Message-ID: E1trmdB-001pqj-1Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

tests: Make postmaster/002_connection_limits deal verbose logs

When log_error_verbosity=verbose is configured the test would hand (and then
fail), because of the sqlstate being added between log level and message. Make
regex cope.

Reported-by: Andrew Dunstan <andrew(at)dunslane(dot)net>
Discussion: https://postgr.es/m/c7ba6bd0-3701-43d1-9087-017777fe9cd2%40dunslane.net

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/59a1592e39fed164d4d6437d62a55aef36e866a5

Modified Files
--------------
src/test/postmaster/t/002_connection_limits.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2025-03-10 23:34:00 Re: pgsql: tests: Fix race condition in postmaster/002_connection_limits
Previous Message Andrew Dunstan 2025-03-10 22:46:12 Re: pgsql: tests: Fix race condition in postmaster/002_connection_limits