Re: minor issues in pg_rewind - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: minor issues in pg_rewind
Date
Msg-id CAB7nPqR+wJtTxrFh26_EDBpnbVS6Khv97e7zVEK5_vr4izdacA@mail.gmail.com
Whole thread Raw
In response to minor issues in pg_rewind  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: minor issues in pg_rewind  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Thu, Jun 11, 2015 at 2:38 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
> * 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.

This looks good to me, especially the ENOSPC enforcement for
pg_control. We may want to rename datapagemap_iterate to
datapagemap_init as well. I can't really see what iterate means in
this context.
Regards,
-- 
Michael



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: [idea] table partition + hash join
Next
From: Noah Misch
Date:
Subject: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1