Re: Add 'worker_type' to pg_stat_subscription
От | Amit Kapila |
---|---|
Тема | Re: Add 'worker_type' to pg_stat_subscription |
Дата | |
Msg-id | CAA4eK1JVyJwYm_WDM6_fFL0hBPWWt0Juv1j2npJNRJ1cVtLjGQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Add 'worker_type' to pg_stat_subscription (Nathan Bossart <nathandbossart@gmail.com>) |
Ответы |
Re: Add 'worker_type' to pg_stat_subscription
|
Список | pgsql-hackers |
On Thu, Sep 21, 2023 at 1:00 AM Nathan Bossart <nathandbossart@gmail.com> wrote: > > On Tue, Sep 19, 2023 at 08:36:35AM +0530, Amit Kapila wrote: > > I am of the opinion that worker_type should be 'apply' instead of > > 'leader apply' because even when it is a leader for parallel apply > > worker, it could perform individual transactions apply. For reference, > > I checked pg_stat_activity.backend_type, there is nothing called main > > or leader backend even when the backend is involved in parallel query. > > Okay. Here is v9 of the patch with this change. > The changes looks good to me, though I haven't tested it. But feel free to commit if you are fine with this patch. -- With Regards, Amit Kapila.
В списке pgsql-hackers по дате отправления: