From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Loles <lolesft(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject:
Date: 2021-05-17 14:13:10
Message-ID: 2798744.1621260790@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Monday, May 17, 2021, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> It looks like it won't be started if you set
>> max_logical_replication_workers = 0.

> I was wondering about that. Would you mind posting a link to the code
> where that is checked? I actually looked though admittedly not that hard.

See ApplyLauncherRegister() in src/backend/replication/logical/launcher.c.
That's called from PostmasterMain(). It doesn't actually *launch* the
process, but it creates the background worker record that causes it to
be started a little later.

regards, tom lane

In response to

  • Re: at 2021-05-17 14:07:39 from David G. Johnston

Responses

  • Re: at 2021-05-18 13:41:22 from David G. Johnston

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Verite 2021-05-17 14:34:02 Re: unicode match normal forms
Previous Message Dilip Kumar 2021-05-17 14:12:48 Re: