summaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/logging.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/logging.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/logging.c')
-rw-r--r--src/bin/pg_rewind/logging.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/pg_rewind/logging.c b/src/bin/pg_rewind/logging.c
index 3e2dc76c583..0e05f968fca 100644
--- a/src/bin/pg_rewind/logging.c
+++ b/src/bin/pg_rewind/logging.c
@@ -76,6 +76,9 @@ pg_log(eLogType type, const char *fmt,...)
}
+/*
+ * Print an error message, and exit.
+ */
void
pg_fatal(const char *fmt,...)
{