pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Magnus Hagander <magnus@hagander.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Make pg_basebackup use temporary replication slots
Date: Mon, 16 Jan 2017 12:58:31 +0000
Message-ID: <E1cT6rn-0002wo-Hw@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Make pg_basebackup use temporary replication slots

Temporary replication slots will be used by default when wal streaming
is used and no slot name is specified with -S. If a slot name is
specified, then a permanent slot with that name is used. If --no-slot is
specified, then no permanent or temporary slot will be used.

Temporary slots are only used on 10.0 and newer, of course.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e7b020f786bf3b344f81d70aa423525fd4f44dfa

Modified Files
--------------
doc/src/sgml/ref/pg_basebackup.sgml          | 25 ++++++++++++++++
src/bin/pg_basebackup/pg_basebackup.c        | 45 +++++++++++++++++++++++++++-
src/bin/pg_basebackup/pg_receivexlog.c       |  3 ++
src/bin/pg_basebackup/pg_recvlogical.c       |  1 +
src/bin/pg_basebackup/receivelog.c           | 22 ++++++++++++--
src/bin/pg_basebackup/receivelog.h           |  6 ++--
src/bin/pg_basebackup/streamutil.c           |  1 -
src/bin/pg_basebackup/streamutil.h           |  1 -
src/bin/pg_basebackup/t/010_pg_basebackup.pl |  5 +++-
9 files changed, 101 insertions(+), 8 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: <E1cT6rn-0002wo-Hw@gemulon.postgresql.org>
Permalink:  ../E1cT6rn-0002wo-Hw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cT6rn-0002wo-Hw@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: magnus@hagander.net
  Subject: Re: pgsql: Make pg_basebackup use temporary replication slots
  In-Reply-To: <E1cT6rn-0002wo-Hw@gemulon.postgresql.org>
  References: <E1cT6rn-0002wo-Hw@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