Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?

Поиск
Список
Период
Сортировка
От zxwsbg
Тема Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?
Дата
Msg-id tencent_5C56966E364AD1F513D63684321DFAA0D207@qq.com
обсуждение исходный текст
Ответы Re:Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?  ("zxwsbg" <zxwsbg@qq.com>)
Список pgsql-general

Last email has some problem, I resend one.

In PG14 or higher version, I notice that SnapBuildRestore function don't set builder->next_phase_at=InvalidTransactionId .

But in SnapBuildSerialize function, the assert check this condition.

Assert(builder->next_phase_at == InvalidTransactionId);

I'd like to know is this right?

Thanks.

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

Предыдущее
От: "zxwsbg"
Дата:
Сообщение: Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?
Следующее
От: "zxwsbg"
Дата:
Сообщение: Re:Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?