Re: Add 'worker_type' to pg_stat_subscription

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Add 'worker_type' to pg_stat_subscription
Дата
Msg-id 20230916204041.GA2185423@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 Sat, Sep 16, 2023 at 06:09:48PM +0530, Amit Kapila wrote:
> I think there is a merit in keeping the worker type as 'sync' or
> 'synchronization' because these would be used in future for syncing
> other objects like sequences. One more thing that slightly looks odd
> is the 'leader apply' type of worker, won't this be confusing when
> there is no parallel apply worker in the system? In this regard,
> probably existing documentation could also be improved.

These are good points.  I went ahead and adjusted the patch back to using
"apply" for [leader] apply workers and to using "synchronization" for
synchronization workers.  I also adjusted a couple of the error messages
that Michael pointed out to say "synchronization worker" instead of "table
synchronization worker" or "tablesync worker".

This still leaves the possibility for confusion with the documentation's
use of "leader apply worker", but I haven't touched that for now.

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

Вложения

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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: JSON Path and GIN Questions
Следующее
От: Erik Wienhold
Дата:
Сообщение: Re: JSON Path and GIN Questions