On Monday, May 17, 2021, Tom Lane <t...@sss.pgh.pa.us> wrote: > "David G. Johnston" <david.g.johns...@gmail.com> writes: > > On Sunday, May 16, 2021, Loles <lole...@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.