forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitaf3855c
committed
Improve TransactionIdDidAbort() documentation.
Document that TransactionIdDidAbort() won't indicate that transactionsthat were in-progress during a crash have aborted. Tie this to existingdiscussion of the TransactionIdDidCommit() and TransactionIdDidCommit()protocol that code in heapam_visibility.c (and a few other places) mustobserve.Follow-up to bugfix commiteb5ad4f.Author: Peter Geoghegan <pg@bowt.ie>Reviewed-By: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/CAH2-Wzn4bEEqgmaUQL3aJ73yM9gAeK-wE4ngi7kjRjLztb+P0w@mail.gmail.com1 parent8bf6ec3 commitaf3855c
File tree
2 files changed
+26
-16
lines changed- src/backend/access
- heap
- transam
2 files changed
+26
-16
lines changedLines changed: 18 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 |
| |
30 | 33 |
| |
31 | 34 |
| |
|
Lines changed: 8 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
| 113 | + | |
| 114 | + | |
114 | 115 |
| |
115 | 116 |
| |
116 | 117 |
| |
| |||
176 | 177 |
| |
177 | 178 |
| |
178 | 179 |
| |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
179 | 186 |
| |
180 | 187 |
| |
181 | 188 |
| |
|
0 commit comments
Comments
(0)