summaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/logging.h
diff options
context:
space:
mode:
authorFujii Masao2015-06-11 13:31:18 +0000
committerFujii Masao2015-06-11 13:31:18 +0000
commit966c37fdb5ed9b87f3e91eace4dbbed7909f6769 (patch)
tree65304d1c1ddc9b0aaeebf933e168221d2a1d77ae /src/bin/pg_rewind/logging.h
parentaacb8b9277ec63ee848442ccc1aa4b3f6eab1893 (diff)
Fix some issues in pg_rewind.
* Remove invalid option character "N" from the third argument (valid option string) of getopt_long(). * Use pg_free() or pfree() to free the memory allocated by pg_malloc() or palloc() instead of always using free(). * Assume problem is no disk space if write() fails but doesn't set errno. * Fix several typos. Patch by me. Review by Michael Paquier.
Diffstat (limited to 'src/bin/pg_rewind/logging.h')
-rw-r--r--src/bin/pg_rewind/logging.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_rewind/logging.h b/src/bin/pg_rewind/logging.h
index 0272a22039d..efbc9b7bb94 100644
--- a/src/bin/pg_rewind/logging.h
+++ b/src/bin/pg_rewind/logging.h
@@ -32,4 +32,4 @@ extern void pg_fatal(const char *fmt,...) pg_attribute_printf(1, 2) pg_attribute
extern void progress_report(bool force);
-#endif
+#endif /* PG_REWIND_LOGGING_H */