- Mailing list pgsql-general

From Tom Lane
Subject
Date
Msg-id 2798744.1621260790@sss.pgh.pa.us
Whole thread Raw
In response to Re:  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re:
List pgsql-general
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Monday, May 17, 2021, Tom Lane <tgl@sss.pgh.pa.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



pgsql-general by date:

Previous
From: Dilip Kumar
Date:
Subject: Re:
Next
From: "Daniel Verite"
Date:
Subject: Re: unicode match normal forms