Re: pg_receivexlog add synchronous mode

Поиск
Список
Период
Сортировка
От
Тема Re: pg_receivexlog add synchronous mode
Дата
Msg-id A9C510524E235E44AE909CD4027AE196BAAA06D7FB@MBX-MSG-SV03.msg.nttdata.co.jp
обсуждение исходный текст
Ответ на Re: pg_receivexlog add synchronous mode  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: pg_receivexlog add synchronous mode
Список pgsql-hackers
> The patch looks somewhat complicated and bugs can be easily introduced
> because it tries to not only add new feature but also reorganize the main
> loop in HandleCopyStream at the same time. To keep the patch simple, I'm
> thinking to firstly apply the attached patch which just refactors the
> main loop. Then we can apply the main patch, i.e., add new feature.
> Thought?
Thank you for the refactoring patch.
I did a review of the patch.
As a result, I found the calculation of sleeptime when the --status-intarvall is set to 1 was incorrect.

--status-intarvall 1 -->  sleeptime 1.9999 !?
--status-intarvall 2 -->  sleeptime 1.9999 OK
--status-intarvall 3 -->  sleeptime 2.9999 OK

Regards,

--
Furuya Osamu

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Allowing NOT IN to use ANTI joins
Следующее
От: Andres Freund
Дата:
Сообщение: Re: better atomics - v0.5