Re: Adding a LogicalRepWorker type field

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: Adding a LogicalRepWorker type field
Дата
Msg-id CAA4eK1LAxSFn+4v=kq7v7Q5ZKuDY=NJxBg35aRaXCp6TbvkOWw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Adding a LogicalRepWorker type field  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Adding a LogicalRepWorker type field
Список pgsql-hackers
On Wed, Aug 2, 2023 at 8:10 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
>
> The am_xxx functions are removed now in the v2-0001 patch. See [1].
>
> The replacement set of macros (the ones with no arg) are not strictly
> necessary, except I felt it would make the code unnecessarily verbose
> if we insist to pass MyLogicalRepWorker everywhere from the callers in
> worker.c / tablesync.c / applyparallelworker.c.
>

Agreed but having a dual set of macros is also not clean. Can we
provide only a unique set of inline functions instead?

--
With Regards,
Amit Kapila.



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Simplify some logical replication worker type checking
Следующее
От: Sultan Berentaev
Дата:
Сообщение: Inquiry about Functionality Availability in PostgreSQL