Обсуждение: [COMMITTERS] pgsql: Only kill sync workers at commit time in subscription DDL

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Only kill sync workers at commit time in subscription DDL

От
Peter Eisentraut
Дата:
Only kill sync workers at commit time in subscription DDL

This allows a transaction abort to avoid killing those workers.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.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(-)