Re: Issue with pg_stat_subscription_stats - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Issue with pg_stat_subscription_stats
Date
Msg-id 20220706014820.lffyrbwmwl74shti@awork3.anarazel.de
Whole thread Raw
In response to Re: Issue with pg_stat_subscription_stats  (Masahiko Sawada <sawada.mshk@gmail.com>)
Responses Re: Issue with pg_stat_subscription_stats
List pgsql-hackers
On 2022-07-06 10:25:02 +0900, Masahiko Sawada wrote:
> > I think most of this could just be pgstat_reset_entry().
> 
> I think pgstat_reset_entry() doesn't work for this case as it skips
> resetting the entry if it doesn't exist.

True - but a pgstat_get_entry_ref(create = true); pgstat_reset_entry(); would
still be shorter?



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: tuplesort Generation memory contexts don't play nicely with index builds
Next
From: Michael Paquier
Date:
Subject: Re: pg_upgrade (12->14) fails on aggregate