Re: [HACKERS] [COMMITTERS] pgsql: Check interrupts during hot standby waits

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] [COMMITTERS] pgsql: Check interrupts during hot standby waits
Дата
Msg-id 20170126190605.crxlcwndye7fh4sq@alap3.anarazel.de
обсуждение исходный текст
Ответы Re: [HACKERS] [COMMITTERS] pgsql: Check interrupts during hot standby waits  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
Hi,

On 2017-01-26 19:00:34 +0000, Simon Riggs wrote:
> Check interrupts during hot standby waits
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/pg/commitdiff/e8ee3d6b859a18d7f7375ceb9e04d256eb18aaec
>
> Modified Files
> --------------
> src/backend/storage/ipc/standby.c | 2 ++
> 1 file changed, 2 insertions(+)

It seems that the actual fix here would be to replace the pg_usleep loop
with a latch wait.... Then we also don't need to needlessly loop, and
actually react promptly to signals.

Andres



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [PATCH] Rename pg_switch_xlog to pg_switch_wal
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [PATCH] Generic type subscription