Skip to content

Navigation Menu

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

Appearance settings

Commit 0e972f5

Browse filesBrowse 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
Copy full SHA for 0e972f5

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Copy file name to clipboardExpand all lines: src/backend/access/transam/clog.c
+1-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.