Mar 2025

1 commit
tests: Make postmaster/002_connection_limits deal verbose logs
10 Mar 2025Andres Freundmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Following the race-condition fix 71d1ed6fe1, Andrew Dunstan reported that verbose logging inserts an SQLSTATE into the expected DEBUG message #2. The candidate fixes src/test/postmaster/t/002_connection_limits.pl by accepting an optional '00000: ' prefix in connect_fails_wait's log regex; Andres Freund confirmed pushing the fix #3.

  • Andrew Dunstansaw the final versionLLM analysis, 93% sureBefore the commit, Andrew identified the verbose-logging SQLSTATE that broke the test, directly motivating the committed regex correction #2.

Credits across 1 commit

Reported by
Andrew Dunstan1
Committer
Andres Freund1