mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
run_file_backup(): fix comments
Explicitly document use-case for this function, and fix a comment which probably got munged by pg_indent.
This commit is contained in:
@@ -6704,6 +6704,11 @@ run_basebackup(t_node_info *node_record)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Perform a filesystem backup using rsync.
|
||||||
|
*
|
||||||
|
* From repmgr 4 this is only used for Barman backups.
|
||||||
|
*/
|
||||||
static int
|
static int
|
||||||
run_file_backup(t_node_info *local_node_record)
|
run_file_backup(t_node_info *local_node_record)
|
||||||
{
|
{
|
||||||
@@ -6734,10 +6739,11 @@ run_file_backup(t_node_info *local_node_record)
|
|||||||
/*
|
/*
|
||||||
* Read the list of backup files into a local file. In the process:
|
* Read the list of backup files into a local file. In the process:
|
||||||
*
|
*
|
||||||
* - determine the backup ID; - check, and remove, the prefix; -
|
* - determine the backup ID
|
||||||
* detect tablespaces; - filter files in one list per tablespace;
|
* - check, and remove, the prefix
|
||||||
|
* - detect tablespaces
|
||||||
|
* - filter files in one list per tablespace
|
||||||
*/
|
*/
|
||||||
|
|
||||||
{
|
{
|
||||||
FILE *fi; /* input stream */
|
FILE *fi; /* input stream */
|
||||||
FILE *fd; /* output for data.txt */
|
FILE *fd; /* output for data.txt */
|
||||||
|
|||||||
Reference in New Issue
Block a user