Re: Logical Replication WIP - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Logical Replication WIP
Date
Msg-id CAB7nPqTyEE7KhgP1ZfGoVeVGpVSRcNMavcF6BaBjaQ=6SjnMdg@mail.gmail.com
Whole thread Raw
In response to Re: Logical Replication WIP  (Craig Ringer <craig@2ndquadrant.com>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Logical Replication WIP
Next
From: Julien Rouhaud
Date:
Subject: Small issues in syncrep.c