summaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/fetch.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2015-04-15 19:52:00 +0000
committerHeikki Linnakangas2015-04-15 19:52:00 +0000
commit41457fcf970f0ec78004cc0f7b29f1d37021fbfb (patch)
treeb9f66e790d3528ec55fb04e6da4c73437304cf8c /src/bin/pg_rewind/fetch.c
parent0d8a22a9ac6a61b7993abb642cb7e4645f4087b0 (diff)
Minor cleanup of pg_rewind.
Update comments and function names to use the terms "source" and "target" consistently. Some places were calling them remote and local instead, which was confusing. Fix incorrect comment in extractPageInfo on database creation record - it was wrong on what happens for databases created in the target that don't exist in source.
Diffstat (limited to 'src/bin/pg_rewind/fetch.c')
-rw-r--r--src/bin/pg_rewind/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/fetch.c b/src/bin/pg_rewind/fetch.c
index eb2dd24cf1d..0a1b117fc42 100644
--- a/src/bin/pg_rewind/fetch.c
+++ b/src/bin/pg_rewind/fetch.c
@@ -26,10 +26,10 @@
#include "filemap.h"
void
-fetchRemoteFileList(void)
+fetchSourceFileList(void)
{
if (datadir_source)
- traverse_datadir(datadir_source, &process_remote_file);
+ traverse_datadir(datadir_source, &process_source_file);
else
libpqProcessFileList();
}