Re: isolationtester: add session name to application name

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: isolationtester: add session name to application name
Дата
Msg-id 20211213184834.acltkdc2h4yj5npc@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: isolationtester: add session name to application name  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: isolationtester: add session name to application name  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2021-12-13 19:46:34 +0900, Michael Paquier wrote:
> 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?

Not entirely trivially - the changes have some dependencies on other changes
(e.g. b1907d688, more on 741d7f104, but that was backpatched). I guess we
could backpatch b1907d688 as well, but I'm not sure its worth it?


> > +         * easier to map spec file sesions to log output and
> 
> One s/sesions/sessions/ here.

Ah, good catch.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Bossart, Nathan"
Дата:
Сообщение: Re: O(n) tasks cause lengthy startups and checkpoints
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Add client connection check during the execution of the query