Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






I don't know what happened, but an image seems to be better.
------------------ Original ------------------
From: "zxwsbg" <zxwsbg@xxxxxx>;
Date: Thu, Nov 24, 2022 04:01 PM
To: "pgsql-general"<pgsql-general@xxxxxxxxxxxxxx>;
Subject: Why not set builder->next_phase_at=InvalidTransactionId in SnapBuildRestore function?

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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux