mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 22:31:18 +02:00
Reword comment for clarity
Reported by Masahiko Sawada Discussion: https://postgr.es/m/CAD21AoB+ycZ2z-4Ye=6MfQ_r0aV5r6cvVPw4kOyPdp6bHqQoBQ@mail.gmail.com
This commit is contained in:
parent
e88928c50d
commit
2336f84284
@ -1116,9 +1116,9 @@ SnapBuildProcessRunningXacts(SnapBuild *builder, XLogRecPtr lsn, xl_running_xact
|
|||||||
* so, because we only need to do it for catalog transactions since we
|
* so, because we only need to do it for catalog transactions since we
|
||||||
* only ever look at those.
|
* only ever look at those.
|
||||||
*
|
*
|
||||||
* NB: Because of that xmax can be lower than xmin, because we only
|
* NB: We only increase xmax when a catalog modifying transaction commits
|
||||||
* increase xmax when a catalog modifying transaction commits. While odd
|
* (see SnapBuildCommitTxn). Because of this, xmax can be lower than xmin,
|
||||||
* looking, it's correct and actually more efficient this way since we hit
|
* which looks odd but is correct and actually more efficient, since we hit
|
||||||
* fast paths in tqual.c.
|
* fast paths in tqual.c.
|
||||||
*/
|
*/
|
||||||
builder->xmin = running->oldestRunningXid;
|
builder->xmin = running->oldestRunningXid;
|
||||||
|
Loading…
Reference in New Issue
Block a user