Simplify sleeping while reading/writing from client

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Simplify sleeping while reading/writing from client
Дата
Msg-id 54D3821E.9060004@vmware.com
обсуждение исходный текст
Ответы Re: Simplify sleeping while reading/writing from client  (Michael Paquier <michael.paquier@gmail.com>)
Re: Simplify sleeping while reading/writing from client  (Andres Freund <andres@2ndQuadrant.com>)
Список pgsql-hackers
Looking again at the code after Andres' interrupt-handling patch series,
I got confused by the fact that there are several wait-retry loops in
different layers, and reading and writing works slightly differently.

I propose the attached, which pulls all the wait-retry logic up to
secure_read() and secure_write(). This makes the code a lot more
understandable.

- Heikki

Вложения

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Redesigning checkpoint_segments
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Redesigning checkpoint_segments