A few changes from repmgrd and improve the SQL of the repl_status

view in order to actually show something useful
This commit is contained in:
Jaime Casanova
2010-10-01 02:26:39 -05:00
parent 533a4e31a0
commit 5cd9e3957c
3 changed files with 37 additions and 21 deletions

View File

@@ -817,7 +817,7 @@ copy_remote_files(char *host, char *remote_path, char *local_path, bool is_direc
if (is_directory)
{
strcat(options, " --archive --exclude=pg_xlog* --exclude=pg_control");
sprintf(script, "rsync %s %s:%s %s",
sprintf(script, "rsync %s %s:%s/* %s",
options, host, remote_path, local_path);
}
else