pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add option to modify sync commit per subscription
Date: Fri, 14 Apr 2017 18:02:04 +0000
Message-ID: <E1cz5Xo-0005Kw-MW@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add option to modify sync commit per subscription

This also changes default behaviour of subscription workers to
synchronous_commit = off.

Author: Petr Jelinek <petr.jelinek@2ndquadrant.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/887227a1cc861d87ca0f175cf8bd1447554090eb

Modified Files
--------------
doc/src/sgml/catalogs.sgml                 | 10 ++++++
doc/src/sgml/ref/alter_subscription.sgml   |  2 ++
doc/src/sgml/ref/create_subscription.sgml  | 31 +++++++++++++++++
src/backend/catalog/pg_subscription.c      |  8 +++++
src/backend/commands/subscriptioncmds.c    | 54 +++++++++++++++++++++++++-----
src/backend/replication/logical/launcher.c |  6 +---
src/backend/replication/logical/worker.c   |  8 +++++
src/bin/pg_dump/pg_dump.c                  | 11 +++++-
src/bin/pg_dump/pg_dump.h                  |  1 +
src/bin/psql/describe.c                    |  5 ++-
src/include/catalog/pg_subscription.h      |  8 +++--
src/test/regress/expected/subscription.out | 30 ++++++++++-------
src/test/regress/sql/subscription.sql      |  4 ++-
13 files changed, 145 insertions(+), 33 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cz5Xo-0005Kw-MW@gemulon.postgresql.org>
Permalink:  ../E1cz5Xo-0005Kw-MW@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cz5Xo-0005Kw-MW@gemulon.postgresql.org

 · 

reply

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: Add option to modify sync commit per subscription
  In-Reply-To: <E1cz5Xo-0005Kw-MW@gemulon.postgresql.org>
  References: <E1cz5Xo-0005Kw-MW@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