forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit32fbe02
committed
Only make buffer strategy for vacuum when it's likely needed
VACUUM FULL and VACUUM ONLY_DATABASE_STATS will not use the vacuumstrategy ring created in vacuum(), so don't waste effort making it inthose cases.There are other conceivable cases where the buffer strategy also won't beused, but those are probably less common and not worth troubling over toomuch. For example VACUUM (PROCESS_MAIN false, PROCESS_TOAST false).There are other cases too, but many of these are only discovered onceinside vacuum_rel().Author: Melanie PlagemanReviewed-by: David RowleyDiscussion:https://postgr.es/m/CAAKRu_ZLRuzkM3zKogiZAz2hUony37yLY4aaLb8fPf8fgqs5Og@mail.gmail.com1 parent1980d35 commit32fbe02
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
397 | 399 |
| |
398 | 400 |
| |
399 | 401 |
| |
|
0 commit comments
Comments
(0)