minor issues in pg_rewind - Mailing list pgsql-hackers

From Fujii Masao
Subject minor issues in pg_rewind
Date
Msg-id CAHGQGwGEw8R25mN1+mNDuFNLwLJQxjLx=1zKxL7ECHhSbLOSDg@mail.gmail.com
Whole thread Raw
Responses Re: minor issues in pg_rewind  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
Hi,

Attached patch fixes the minor issues in pg_rewind. The fixes are

* 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.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: skipping pg_log in basebackup (was Re: pg_basebackup and pg_stat_tmp directory)
Next
From: Andres Freund
Date:
Subject: Re: s_lock() seems too aggressive for machines with many sockets