From 9caa2433545e39458f035a065413a13a7d9feda1 Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Tue, 12 Jun 2012 09:39:02 -0500 Subject: [PATCH] Moving the 'Starting backup' message to a better place --- repmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repmgr.c b/repmgr.c index 8eeb82ae..c863b5d2 100644 --- a/repmgr.c +++ b/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