]> granicus.if.org Git - postgresql/commit
Make pg_basebackup use temporary replication slots
authorMagnus Hagander <magnus@hagander.net>
Mon, 16 Jan 2017 12:56:43 +0000 (13:56 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 16 Jan 2017 12:56:43 +0000 (13:56 +0100)
commite7b020f786bf3b344f81d70aa423525fd4f44dfa
tree2963aed83e279eb9d5254d70f42a9681a65b9e1c
parent8fa6019b405f9d39539a77c6f5f11fe640ddf955
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.
doc/src/sgml/ref/pg_basebackup.sgml
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivexlog.c
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_basebackup/receivelog.c
src/bin/pg_basebackup/receivelog.h
src/bin/pg_basebackup/streamutil.c
src/bin/pg_basebackup/streamutil.h
src/bin/pg_basebackup/t/010_pg_basebackup.pl