model-writtenrun 5895 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andres Freund proposed automatically appending each isolation-test session name to application_name so logs, pg_stat_activity, and lock information could be mapped to test sessions; the patch preserved the existing test-name prefix and removed manual naming from insert-conflict-specconflict #1.
- Andrew Dunstan supported the proposal and endorsed using 'control connection' for the control session, resolving the naming question Andres had raised #2.
- Michael Paquier also supported the naming, caught a comment typo, and suggested backpatching to keep test infrastructure consistent across stable branches, while noting possible compatibility concerns for external tests #3.
- Andres explained that backpatching required an earlier per-test application naming change #4, and Tom Lane endorsed backpatching that prerequisite to avoid difficulties when moving tests between branches #5.
- The prerequisite landed as fe490f9ad7, restoring per-test application names on older branches without a separate attached patch; Andres confirmed that backpatch and said the session-name change would follow after local cross-branch tests finished #6.
- The session-name patch from #1 then landed as 3f32395612 with only the reviewed comment typo corrected, retaining the control-session name and carrying backports through PostgreSQL 10; both planned changes were committed.