Only kill sync workers at commit time in subscription DDL
This allows a transaction abort to avoid killing those workers.
Author: Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/7e174fa793a2df89fe03d002a5087ef67abcdde8
Modified Files
--------------
src/backend/access/transam/xact.c | 9 ++++
src/backend/commands/subscriptioncmds.c | 28 ++++++++--
src/backend/replication/logical/launcher.c | 83 +++++++++++++++++++++++++++++-
src/include/replication/logicallauncher.h | 1 +
src/include/replication/worker_internal.h | 2 +
5 files changed, 117 insertions(+), 6 deletions(-)