Re: - Mailing list pgsql-general

From David G. Johnston
Subject Re:
Date
Msg-id CAKFQuwbWbe1_4GdLoouXETq2DHgfdU7vddOmG==BHZNUVY+cAA@mail.gmail.com
Whole thread Raw
In response to  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re:

List pgsql-general
On Monday, May 17, 2021, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Sunday, May 16, 2021, Loles <lolesft@gmail.com> wrote:
>> I don't understand why the server starts that process if I'm not using
>> replication of any kind.

>  It starts the process because at any time someone can execute a “create
> subscription” command.  If no one does so the amount of time spent
> confirming the subscriptions table is empty is trivial.

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.

Thanks!

David J.

pgsql-general by date:

Previous
From: Gianni Ceccarelli
Date:
Subject: Re: unicode match normal forms
Next
From: Dilip Kumar
Date:
Subject: Re: