mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 08:56:29 +00:00
Put "starting backup" notice after any slot creation
This commit is contained in:
18
repmgr.c
18
repmgr.c
@@ -1393,16 +1393,10 @@ do_standby_clone(void)
|
|||||||
goto stop_backup;
|
goto stop_backup;
|
||||||
}
|
}
|
||||||
|
|
||||||
log_notice(_("starting backup...\n"));
|
|
||||||
if (runtime_options.fast_checkpoint == false)
|
|
||||||
{
|
|
||||||
log_hint(_("this may take some time; consider using the -c/--fast-checkpoint option\n"));
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If replication slots requested, create appropriate slot on
|
* If replication slots requested, create appropriate slot on
|
||||||
* the primary; this must be done before pg_start_backup() is
|
* the primary; this must be done before pg_start_backup() is
|
||||||
* issued, either by us or by pg_basebackup.
|
* issued, either by us or by pg_basebackup.
|
||||||
*/
|
*/
|
||||||
if (options.use_replication_slots)
|
if (options.use_replication_slots)
|
||||||
{
|
{
|
||||||
@@ -1413,6 +1407,12 @@ do_standby_clone(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log_notice(_("starting backup...\n"));
|
||||||
|
if (runtime_options.fast_checkpoint == false)
|
||||||
|
{
|
||||||
|
log_hint(_("this may take some time; consider using the -c/--fast-checkpoint option\n"));
|
||||||
|
}
|
||||||
|
|
||||||
if (runtime_options.rsync_only)
|
if (runtime_options.rsync_only)
|
||||||
{
|
{
|
||||||
PQExpBufferData tablespace_map;
|
PQExpBufferData tablespace_map;
|
||||||
|
|||||||
Reference in New Issue
Block a user