Re: BUG #18046: stats collection behaviour change is affecting the usability of information. - Mailing list pgsql-bugs

From Kyotaro Horiguchi
Subject Re: BUG #18046: stats collection behaviour change is affecting the usability of information.
Date
Msg-id 20230907.141657.1604486470664577228.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: BUG #18046: stats collection behaviour change is affecting the usability of information.  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-bugs
At Thu, 07 Sep 2023 14:12:32 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> We could use the transaction start time as a sufficient approximation
> for the timestamp in fast paths. It might not align with with the
> reset time set by pg_stat_reset(), but that shouldn't be a
> problem. pgstat_restore_stats runs outside of a transaction, but

To be accurate, it's not "outside of a transaction", but "before any
transaction starts".

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-bugs by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: BUG #18046: stats collection behaviour change is affecting the usability of information.
Next
From: PG Bug reporting form
Date:
Subject: BUG #18091: Unexpected Result by enable_material