Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible
Date
Msg-id Z8U854O5RayMMgoc@paquier.xyz
Whole thread Raw
In response to Re: [PATCH] pg_stat_activity: make slow/hanging authentication more visible  (Jacob Champion <jacob.champion@enterprisedb.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Ryo Kanbayashi
Date:
Subject: Re: [PATCH] Add regression tests of ecpg command notice (error / warning)
Next
From: Amit Kapila
Date:
Subject: Re: doc: Mention clock synchronization recommendation for hot_standby_feedback