Re: isolationtester: add session name to application name
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2021-12-13T10:46:34Z
Lists: pgsql-hackers
On Fri, Dec 10, 2021 at 05:20:52PM -0800, Andres Freund wrote: > These days isolationtester.c already prefixes log output with the session > name. How about doing the same for application_name? It's a *tad* more > complicated than I'd like because isolationtester.c currently doesn't know the > name of the test its executing. +1 for the idea. Maybe it could be backpatched? It could be really useful to have the same amount of details across all the stable branches to ease any future backpatch of a test. It does not seem to me that many people would rely much on application_name in out-of-core test, but if that's the case such tests would suddenly break after a the next minor upgrade. > As attached this appends "control connection" for the control connection, but > perhaps we should just not append anything for that? Keeping "control connection" seems is fine for me for these. > + * easier to map spec file sesions to log output and One s/sesions/sessions/ here. -- Michael
Commits
-
isolationtester: append session name to application_name.
- dbc5cdd5cbb8 10.20 landed
- c99fd65fa207 11.15 landed
- a5fe66bfdaec 12.10 landed
- 65f860e78a04 13.6 landed
- 5b5455b035c6 14.2 landed
- 3f323956128f 15.0 landed
-
backpatch "Set application_name per-test in isolation and ecpg tests."
- 30d57136fcef 10.20 landed
- dfdf445fe515 11.15 landed
- fe490f9ad7ab 12.10 landed