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

Reply via email to