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_7A5062EB667701A5E23A1B2B09828BCE5506@qq.com
обсуждение исходный текст
Список pgsql-general
Hi, guys:

In PG14 or higher version, I notice that SnapBuildRestore 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 по дате отправления:

Предыдущее
От: Nikolas Hanry
Дата:
Сообщение: Fwd: Change the auth. postgresql and GIS
Следующее
От: "zxwsbg"
Дата:
Сообщение: Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?