mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-23 07:06:30 +00:00
Moving the 'Starting backup' message to a better place
This commit is contained in:
4
repmgr.c
4
repmgr.c
@@ -1017,8 +1017,6 @@ do_standby_clone(void)
|
||||
exit(ERR_DB_CON);
|
||||
}
|
||||
|
||||
log_notice("Starting backup...\n");
|
||||
|
||||
/* Get the data directory full path and the configuration files location */
|
||||
sqlquery_snprintf(sqlquery,
|
||||
"SELECT name, setting "
|
||||
@@ -1058,6 +1056,8 @@ do_standby_clone(void)
|
||||
}
|
||||
PQclear(res);
|
||||
|
||||
log_notice("Starting backup...\n");
|
||||
|
||||
/*
|
||||
* in pg 9.1 default is to wait for a sync standby to ack,
|
||||
* avoid that by turning off sync rep for this session
|
||||
|
||||
Reference in New Issue
Block a user