Re: minor issues in pg_rewind

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: minor issues in pg_rewind
Дата
Msg-id CAB7nPqR+wJtTxrFh26_EDBpnbVS6Khv97e7zVEK5_vr4izdacA@mail.gmail.com
обсуждение исходный текст
Ответ на minor issues in pg_rewind  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: minor issues in pg_rewind
Список 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 по дате отправления:

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [idea] table partition + hash join
Следующее
От: Noah Misch
Дата:
Сообщение: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1