diff options
author | Magnus Hagander | 2017-01-16 12:56:43 +0000 |
---|---|---|
committer | Magnus Hagander | 2017-01-16 12:56:43 +0000 |
commit | e7b020f786bf3b344f81d70aa423525fd4f44dfa (patch) | |
tree | 2963aed83e279eb9d5254d70f42a9681a65b9e1c /src/bin/pg_basebackup/streamutil.c | |
parent | 8fa6019b405f9d39539a77c6f5f11fe640ddf955 (diff) |
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.
Diffstat (limited to 'src/bin/pg_basebackup/streamutil.c')
-rw-r--r-- | src/bin/pg_basebackup/streamutil.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/streamutil.c b/src/bin/pg_basebackup/streamutil.c index 01be3e7c362..31290d35f6f 100644 --- a/src/bin/pg_basebackup/streamutil.c +++ b/src/bin/pg_basebackup/streamutil.c @@ -38,7 +38,6 @@ char *connection_string = NULL; char *dbhost = NULL; char *dbuser = NULL; char *dbport = NULL; -char *replication_slot = NULL; char *dbname = NULL; int dbgetpassword = 0; /* 0=auto, -1=never, 1=always */ static bool have_password = false; |