On Mon, Nov 1, 2021 at 7:25 AM Masahiko Sawada <sawada.m...@gmail.com> wrote:
>
> On Sat, Oct 30, 2021 at 12:21 PM Amit Kapila <amit.kapil...@gmail.com> wrote:
> >
> > Don't we want these stats to be dealt in the same way as tables and
> > functions as all the stats entries (subscription entries) are specific
> > to a particular database? If so, I think we should write/read these
> > to/from db specific stats file in the same way as we do for tables or
> > functions. I think in the current patch, it will unnecessarily read
> > and probably write subscription stats even when those are not
> > required.
>
> Good point! So probably we should have PgStat_StatDBEntry have the
> hash table for subscription worker statistics, right?
>

Yes.

-- 
With Regards,
Amit Kapila.


Reply via email to