forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit69cf853
committed
Clear up issue with FSM and oldest bpto.xact.
On further reflection, code comments added by commitb0229f2 slightlymisrepresented how we determine the oldest bpto.xact for the index.btvacuumpage() does not treat the bpto.xact of a page that it put in theFSM as a candidate to be the oldest deleted page (the delete-marked pagethat has the oldest bpto.xact XID among all pages encountered).The definition of a deleted page for the purposes of the bpto.xactcalculation is different from the definition used by the bulk deletestatistics. The bulk delete statistics don't distinguish between pagesthat were deleted by the current VACUUM, pages deleted by a previousVACUUM operation but not yet recyclable/reusable, and pages that arereusable (though reusable pages are counted separately).Backpatch: 11-, just like commitb0229f2.1 parent4e21f8b commit69cf853
1 file changed
+15
-15
lines changedLines changed: 15 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
824 | 824 |
| |
825 | 825 |
| |
826 | 826 |
| |
827 |
| - | |
828 |
| - | |
829 |
| - | |
830 |
| - | |
831 |
| - | |
832 |
| - | |
833 | 827 |
| |
834 | 828 |
| |
835 | 829 |
| |
| |||
1044 | 1038 |
| |
1045 | 1039 |
| |
1046 | 1040 |
| |
1047 |
| - | |
1048 |
| - | |
1049 |
| - | |
1050 |
| - | |
1051 |
| - | |
1052 |
| - | |
1053 |
| - | |
1054 |
| - | |
1055 |
| - | |
1056 | 1041 |
| |
1057 | 1042 |
| |
1058 | 1043 |
| |
| |||
1068 | 1053 |
| |
1069 | 1054 |
| |
1070 | 1055 |
| |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
1071 | 1071 |
| |
1072 | 1072 |
| |
1073 | 1073 |
| |
|
0 commit comments
Comments
(0)