Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0e972f5

Browse files
committed
Update outdated comment for TransactionIdSetTreeStatus
Commit06da3c5 changed the way subtransactions are marked asSUBCOMMITTED, but the example it included actually documented the oldway. Update it.Author: Japin LiDiscussion:https://www.postgresql.org/message-id/MEYP282MB16690BC96DFBE08CC857E1E3B6319%40MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
1 parent7d25958 commit0e972f5

File tree

1 file changed

+1
-3
lines changed
  • src/backend/access/transam

1 file changed

+1
-3
lines changed

‎src/backend/access/transam/clog.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ static void TransactionIdSetPageStatusInternal(TransactionId xid, int nsubxids,
146146
*page2: set t2,t3 as sub-committed
147147
*page3: set t4 as sub-committed
148148
*2. update page1:
149-
*set t1 as sub-committed,
150-
*then set t as committed,
151-
then set t1 as committed
149+
*page1: set t,t1 as committed
152150
*3. update pages2-3:
153151
*page2: set t2,t3 as committed
154152
*page3: set t4 as committed

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp