Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Дата
Msg-id Z8U854O5RayMMgoc@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible  (Jacob Champion <jacob.champion@enterprisedb.com>)
Ответы Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Список pgsql-hackers
On Fri, Feb 28, 2025 at 12:40:13PM -0800, Jacob Champion wrote:
> v9 removes the first call, and moves the second (now only) call up and
> out of the if/else chain, just past client authentication. The SSL
> pre-auth tests have been removed.

I have put my eyes on 0001, and this version looks sensible here, just
tweaked a bit the comments after a closer lookup and adjusted a few
things, nothing huge..

     /* Update app name to current GUC setting */
+    /* TODO: ask the list: maybe do this before setting STATE_UNDEFINED? */
     if (application_name)
         pgstat_report_appname(application_name);

This has always been set last and it's still the case in the patch, so
let's just remove that.
--
Michael

Вложения

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