mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -45,6 +45,7 @@ static bool do_create_slot = false;
|
||||
static bool slot_exists_ok = false;
|
||||
static bool do_start_slot = false;
|
||||
static bool do_drop_slot = false;
|
||||
static char *replication_slot = NULL;
|
||||
|
||||
/* filled pairwise with option, value. value may be NULL */
|
||||
static char **options;
|
||||
|
Reference in New Issue
Block a user