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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Fix some error handling for read() and errno
Дата
Msg-id 20180713234712.GA2027@paquier.xyz
обсуждение исходный текст
Ответ на Re: Fix some error handling for read() and errno  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Fix some error handling for read() and errno
Список pgsql-hackers
On Fri, Jul 13, 2018 at 11:31:31AM -0400, Alvaro Herrera 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.

Thanks!  Did you look at the code?  The first patch is just some
cleanup, while the second could have adjustments?  For the second I went
with the minimal amount of work, and actually there is no need to make
ReadTransientFile() return a status per my study of ReadTwoPhaseFile()
in https://postgr.es/m/20180709050309.GM1467@paquier.xyz which must fail
when reading the file.  So patch 0002 depends on the other 2PC patch.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Generating partitioning tuple conversion maps faster
Следующее
От: Pierre Ducroquet
Дата:
Сообщение: Re: [PATCH] LLVM tuple deforming improvements