From a4abbc6f0c57e49befc42af0db86435e8bd66c28 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 29 Sep 2015 14:16:38 +0900 Subject: [PATCH] Minor formatting fixes --- repmgr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repmgr.c b/repmgr.c index 36f5131b..e808e12b 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1110,7 +1110,7 @@ do_standby_clone(void) * * -T/--tablespace-mapping is not available as a pg_basebackup option for * PostgreSQL 9.3 - we can only handle that with rsync, so if `--rsync-only` - # not set, fail with an error + * not set, fail with an error */ if (options.tablespace_mapping.head != NULL) @@ -1129,7 +1129,7 @@ do_standby_clone(void) sqlquery_snprintf(sqlquery, "SELECT spcname " " FROM pg_tablespace " - "WHERE pg_tablespace_location(oid) = '%s'", + " WHERE pg_tablespace_location(oid) = '%s'", cell->old_dir); res = PQexec(upstream_conn, sqlquery); if (PQresultStatus(res) != PGRES_TUPLES_OK) @@ -1368,7 +1368,7 @@ do_standby_clone(void) { for (cell = options.tablespace_mapping.head; cell; cell = cell->next) { - if (strcmp( tblspc_dir_src.data, cell->old_dir) == 0) + if (strcmp(tblspc_dir_src.data, cell->old_dir) == 0) { mapping_found = true; break;