From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix some issues in pg_rewind.
Date: Thu, 11 Jun 2015 13:37:03 +0000
Message-ID: <E1Z32fH-0005MB-82@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/966c37fdb5ed9b87f3e91eace4dbbed7909f6769
Modified Files
--------------
src/bin/pg_rewind/copy_fetch.c | 4 ++--
src/bin/pg_rewind/datapagemap.c | 4 ++--
src/bin/pg_rewind/file_ops.c | 6 ++++++
src/bin/pg_rewind/filemap.c | 8 ++++----
src/bin/pg_rewind/libpq_fetch.c | 4 ++--
src/bin/pg_rewind/logging.h | 2 +-
src/bin/pg_rewind/pg_rewind.c | 6 +++---
7 files changed, 20 insertions(+), 14 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: fujii@postgresql.org
Subject: Re: pgsql: Fix some issues in pg_rewind.
In-Reply-To: <E1Z32fH-0005MB-82@gemulon.postgresql.org>
References: <E1Z32fH-0005MB-82@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox