Re: Minimal logical decoding on standbys

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Minimal logical decoding on standbys
Дата
Msg-id 99f2efdf9f7ced5d29201cf75489279390f84a16.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Minimal logical decoding on standbys  (Masahiko Sawada <sawada.mshk@gmail.com>)
Ответы Re: Minimal logical decoding on standbys  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Fri, 2023-03-31 at 01:31 +0900, Masahiko Sawada wrote:
> I think that we don't need to change for the latter case as
> WalSndWait() perfectly works. As for the former cases, since we need
> to wait for CV, timeout, or socket writable we can use
> ConditionVariableEventSleep().

For this patch series, I agree.

But if the ConditionVariableEventSleep() API is added, then I think we
should change the non-recovery case to use a CV as well for
consistency, and it would avoid the need for WalSndWakeup().

Regards,
    Jeff Davis




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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Minimal logical decoding on standbys
Следующее
От: "shiy.fnst@fujitsu.com"
Дата:
Сообщение: RE: Data is copied twice when specifying both child and parent table in publication