Re: Logical Replication WIP

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Logical Replication WIP
Дата
Msg-id CAB7nPqTyEE7KhgP1ZfGoVeVGpVSRcNMavcF6BaBjaQ=6SjnMdg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Logical Replication WIP  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Aug 9, 2016 at 5:13 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> On 9 August 2016 at 15:59, Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>> The logical replication launcher process and the apply process are
>> implemented as a bgworker. Isn't better to have them as an auxiliary
>> process like checkpointer, wal writer?
>
> I don't think so. The checkpointer, walwriter, autovacuum, etc predate
> bgworkers. I strongly suspect that if they were to be implemented now they'd
> use bgworkers.

+1. We could always get them now under the umbrella of the bgworker
infrastructure if this cleans up some code duplication.
-- 
Michael



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Logical Replication WIP
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Small issues in syncrep.c