forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6265661
committed
Avoid holding vmbuffer pin after VACUUM.
During VACUUM if we pause to perform a cycleof index cleanup we drop the vmbuffer pin,so we should do the same thing when heapscan completes. This avoids holding vmbufferpin across the main index cleanup in VACUUM,which could be minutes or hours longer thannecessary for correctness.Bug report and suggested fix from Pavan Deolasee1 parentbdd5d41 commit6265661
1 file changed
+9
-7
lines changedLines changed: 9 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
949 | 949 |
| |
950 | 950 |
| |
951 | 951 |
| |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
952 | 961 |
| |
953 | 962 |
| |
954 | 963 |
| |
| |||
966 | 975 |
| |
967 | 976 |
| |
968 | 977 |
| |
969 |
| - | |
970 |
| - | |
971 |
| - | |
972 |
| - | |
973 |
| - | |
974 |
| - | |
975 |
| - | |
976 | 978 |
| |
977 | 979 |
| |
978 | 980 |
| |
|
0 commit comments
Comments
(0)