- Notifications
You must be signed in to change notification settings - Fork28
Commit5ab0ad5
committed
VACUUM must make sure that a HEAP_MARKED_FOR_UPDATE tuple gets marked
as either HEAP_XMAX_COMMITTED or HEAP_XMAX_INVALID once the updatingtransaction is gone. Otherwise some other transaction may come alongand try to test the commit status of t_xmax later --- which could beafter VACUUM has recycled the CLOG status for that xact. Bug introducedin post-beta4 bug fix.1 parenteb5e8ba commit5ab0ad5
1 file changed
+16
-2
lines changedLines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
742 | 742 |
| |
743 | 743 |
| |
744 | 744 |
| |
745 |
| - | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
746 | 760 |
| |
747 | 761 |
| |
748 | 762 |
| |
|
0 commit comments
Comments
(0)