Re: Add 'worker_type' to pg_stat_subscription

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Add 'worker_type' to pg_stat_subscription
Дата
Msg-id 20230920193038.GA3050767@nathanxps13
обсуждение исходный текст
Ответ на Re: Add 'worker_type' to pg_stat_subscription  (Amit Kapila <amit.kapila16@gmail.com>)
Ответы Re: Add 'worker_type' to pg_stat_subscription  (Peter Smith <smithpb2250@gmail.com>)
Re: Add 'worker_type' to pg_stat_subscription  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
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.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: remaining sql/json patches
Следующее
От: Robert Haas
Дата:
Сообщение: Re: New WAL record to detect the checkpoint redo location