From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Only kill sync workers at commit time in subscription DDL
Date: Sat, 05 Aug 2017 01:29:47 +0000
Message-ID: <E1ddnuV-0000Iq-6L@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Only kill sync workers at commit time in subscription DDL
In-Reply-To: <E1ddnuV-0000Iq-6L@gemulon.postgresql.org>
References: <E1ddnuV-0000Iq-6L@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox