Re: Add connection active, idle time to pg_stat_activity

From: Richard Guo <guofenglinux(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Sergey Dudoladov <sergey(dot)dudoladov(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Andrei Zubkov <zubkov(at)moonset(dot)ru>
Subject: Re: Add connection active, idle time to pg_stat_activity
Date: 2025-04-11 01:41:14
Message-ID: CAMbWs4901EDD+xxsPxCkuD6zm2DOAPYvC2qgFZ_Q49F5o79B8A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 11, 2025 at 3:47 AM Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> I'd probably write the increments as ++ rather than += 1 but I'm not
> sure if everyone would agree.

I'm a fan of ++ as well, so I agree.

Thanks
Richard

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-04-11 02:06:32 Re: MergeJoin beats HashJoin in the case of multiple hash clauses
Previous Message David G. Johnston 2025-04-11 01:37:40 Re: n_ins_since_vacuum stats for aborted transactions