question about SnapBuild

From: ifquant <ifquant(at)163(dot)com>
To: "Pgsql Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: question about SnapBuild
Date: 2019-07-04 18:13:50
Message-ID: 57b673e6.5919.16bbe314b4e.Coremail.ifquant@163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

i am some pullzed by Snapbuild.c
it seem some code can not reach for ever.
SnapBuildCommitTxn
{
//can not reach there
if (builder->state == SNAPBUILD_START ||
(builder->state == SNAPBUILD_BUILDING_SNAPSHOT &&
TransactionIdPrecedes(xid, SnapBuildNextPhaseAt(builder))))
}

DecodeXactOp {
if (SnapBuildCurrentState(builder) < SNAPBUILD_FULL_SNAPSHOT)
return; //returned
}
}
| |
ifquant
|
|
ifquant(at)163(dot)com
|
签名由网易邮箱大师定制

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2019-07-04 18:18:06 Re: Periods
Previous Message Alvaro Herrera 2019-07-04 18:04:10 Re: Periods