tests: Make postmaster/002_connection_limits deal verbose logs

Andres Freund <andres@anarazel.de>

Commit: 59a1592e39fed164d4d6437d62a55aef36e866a5
Author: Andres Freund <andres@anarazel.de>
Date: 2025-03-10T23:32:26Z
Releases: 18.0
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@dunslane.net>
Discussion: https://postgr.es/m/c7ba6bd0-3701-43d1-9087-017777fe9cd2%40dunslane.net

Files

PathChange+/−
src/test/postmaster/t/002_connection_limits.pl modified +1 −1

Discussion

Cited messages not in the archive: c7ba6bd0-3701-43d1-9087-017777fe9cd2@dunslane.net