Simplify some of the logical replication worker-type checks.
authorAmit Kapila <akapila@postgresql.org>
Fri, 4 Aug 2023 02:45:07 +0000 (08:15 +0530)
committerAmit Kapila <akapila@postgresql.org>
Fri, 4 Aug 2023 02:45:07 +0000 (08:15 +0530)
commit81ccbe520f42a9873734c614e4eb521190d8f8e4
treee5f3f1ca453214cb1420628498d9367f293c540e
parent7516056c584e3f7e04269f2e80835d1433e869c4
Simplify some of the logical replication worker-type checks.

Author: Peter Smith
Reviewed-by: Hou Zhijie
Discussion: http://postgr.es/m/CAHut+Pv-xkEpuPzbEJ=ZSi7Hp2RoGJf=VA-uDRxLi1KHSneFjg@mail.gmail.com
src/backend/replication/logical/worker.c