Re: Fix some error handling for read() and errno

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@postgresql.org>, Robert Haas <robertmhaas@gmail.com>, Magnus Hagander <magnus@hagander.net>, Robbie Harwood <rharwood@redhat.com>, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, hlinnaka <hlinnaka@iki.fi>
Date: 2018-07-13T15:31:31Z
Lists: pgsql-hackers
On 2018-Jul-13, Michael Paquier wrote:

> Mr. Robot has been complaining about this patch set, so attached is a
> rebased version.  Thinking about it, I would tend to just merge 0001 and
> give up on 0002 as that may not justify future backpatch pain.  Thoughts
> are welcome.

I vote to push both.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Rework error messages around file handling