From d7e85f7565e33dcda7afa05cc1fd15dcdb913d8c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 30 May 2016 07:47:09 +0900 Subject: [PATCH] Clarify purpose of remapping code --- repmgr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 8a1649e4..a38c127a 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1777,7 +1777,12 @@ do_standby_clone(void) goto stop_backup; } - /* Update symlinks in pg_tblspc */ + /* + * If valid tablespace mappings were provided, arrange for the affected + * tablespaces to be remapped + * (if no tablespace mappings were provided, non-default tablespaces + * will be copied as-is by pg_basebackup or rsync) + */ if (mapping_found == true) { /* 9.5 and later - create a tablespace_map file */