> For example, we could add a check like the following to 013_crash_restart.pl.
> Thoughts?
>
> -----------------
> is($node->safe_psql('postgres',
> "SELECT count(*) = 1 FROM pg_stat_activity WHERE backend_type =
> 'logical replication launcher'"),
> 't',
> 'logical replication launcher is running after crash');
> -----------------
Agree, but we need note that the logical replication launcher won't be registered in some case. (see ApplyLauncherRegister())
--
Regards,
ChangAo Chen