Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0e972f5

Browse files
committed
Update outdated comment for TransactionIdSetTreeStatus
Commit 06da3c5 changed the way subtransactions are marked as SUBCOMMITTED, but the example it included actually documented the old way. Update it. Author: Japin Li Discussion: https://www.postgresql.org/message-id/MEYP282MB16690BC96DFBE08CC857E1E3B6319%40MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
1 parent 7d25958 commit 0e972f5

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

+1-3
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)