- Notifications
You must be signed in to change notification settings - Fork5
Commit83b7584
committed
Make CLUSTER lock the old table's toast table before copying data.
We must lock out autovacuuming of the old toast table before computing theOldestXmin horizon we will use. Otherwise, autovacuum could start on thetoast table later, compute a later OldestXmin horizon, and remove as DEADtoast tuples that we still need (because we think their parent tuples areonly RECENTLY_DEAD). Per further thought about bug #5998.1 parent5a71b64 commit83b7584
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
| |||
750 | 751 |
| |
751 | 752 |
| |
752 | 753 |
| |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
753 | 770 |
| |
754 | 771 |
| |
755 | 772 |
| |
|
0 commit comments
Comments
(0)