mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +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:
@@ -23,7 +23,6 @@ extern char *dbuser;
|
||||
extern char *dbport;
|
||||
extern char *dbname;
|
||||
extern int dbgetpassword;
|
||||
extern char *replication_slot;
|
||||
|
||||
/* Connection kept global so we can disconnect easily */
|
||||
extern PGconn *conn;
|
||||
|
||||
Reference in New Issue
Block a user