*** a/src/backend/replication/logical/launcher.c --- b/src/backend/replication/logical/launcher.c *************** *** 781,786 **** ApplyLauncherWakeup(void) --- 781,788 ---- void ApplyLauncherMain(Datum main_arg) { + TimestampTz last_start_time = 0; + ereport(DEBUG1, (errmsg("logical replication launcher started"))); *************** *** 812,818 **** ApplyLauncherMain(Datum main_arg) MemoryContext subctx; MemoryContext oldctx; TimestampTz now; - TimestampTz last_start_time = 0; long wait_time = DEFAULT_NAPTIME_PER_CYCLE; now = GetCurrentTimestamp(); --- 814,819 ----