The main patch for adding the worker type enum has been pushed [1]. Here is the remaining (rebased) patch for changing some previous cascading if/else to switch on the LogicalRepWorkerType enum instead.
PSA v8. ------ [1] https://github.com/postgres/postgres/commit/2a8b40e3681921943a2989fd4ec6cdbf8766566c Kind Regards, Peter Smith. Fujitsu Australia
v8-0001-Switch-on-worker-type.patch
Description: Binary data