On Tue, Nov 16, 2021 at 5:06 PM Rafia Sabih <[email protected]> wrote: > > I think this change is wrong, basically, "tsmsg->m_idle_in_xact_time" > > is used for counting the database level idle in transaction count, you > > can check "pg_stat_get_db_idle_in_transaction_time" function for that. > > So "pgStatTransactionIdleTime" is the variable counting the idle in > > transaction time, pgStatIdleTime is just counting the idle time > > outside the transaction so if we make this change we are changing the > > meaning of tsmsg->m_idle_in_xact_time. > > Got it. > Updated
Okay, thanks, I will look into it one more time early next week and if I see no issues then I will move it to RFC. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
