Re: Null commitTS bug

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Null commitTS bug
Дата
Msg-id 20220117.111724.632185256127324915.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Null commitTS bug  ("Kingsborough, Alex" <kingsboa@amazon.com>)
Ответы Re: Null commitTS bug  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
At Fri, 14 Jan 2022 22:49:59 +0000, "Kingsborough, Alex" <kingsboa@amazon.com> wrote in
> The fix for this is very simple
>
>
>   /* if we wrote out all subxids, we're done. /
>   - if (j + 1 >= nsubxids)
>   + if (j >= nsubxids)
>   break;

It looks like a thinko and the fix is correct. (It's a matter of taste
choosing between it and "j == nsubxids").

I found some confusing lines around but they need not a fix
considering back-patching conflict?

> for (i = 0, headxid = xid;;)
..
> i += j - i + 1;

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Add jsonlog log_destination for JSON server logs
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Consistently use the function name CreateCheckPoint instead of CreateCheckpoint in code comments