I think one thing we could do minimize the chance of such anerror is set the value of parallel workers to be used for plan equalto max_worker_processes if parallel_seqscan_degree is greaterthan max_worker_processes. Even if we do this, still such anerror can come if user has registered bgworker before we couldstart parallel plan execution.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных