forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbfac8f8
committed
Fix vacuum_cost_delay check for balance calculation.
Commit1021bd6 excluded autovacuum workers from cost-limit balancecalculations when per-relation options were set. The code checks forlimit and cost_delay being greater than zero, but since cost_delay canbe set to -1 the test needs to check for greater than or zero.Backpatch to all supported branches since1021bd6 was backpatchedall the way at the time.Author: Masahiko Sawada <sawada.mshk@gmail.com>Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>Reviewed-by: Daniel Gustafsson <daniel@yesql.se>Discussion:https://postgr.es/m/CAD21AoBS7o6Ljt_vfqPQPf67AhzKu3fR0iqk8B=vVYczMugKMQ@mail.gmail.comBackpatch-through: v11 (all supported branches)1 parent3034dc5 commitbfac8f8
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2947 | 2947 |
| |
2948 | 2948 |
| |
2949 | 2949 |
| |
2950 |
| - | |
| 2950 | + | |
2951 | 2951 |
| |
2952 | 2952 |
| |
2953 | 2953 |
| |
|
0 commit comments
Comments
(0)