forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commita1c935d
committed
pgbench: allow a script weight of zero
This refines the previous weight range and allows a script to be "turnedoff" by passing a zero weight, which is useful when scripting multiplepgbench runs.I did not apply the suggested warning when a script uses zero weight; weuse the principle elsewhere that if there's nothing to be done, donothing quietly.Adjust docs accordingly.Author: Jeff Janes, Fabien Coelho1 parentad95664 commita1c935d
2 files changed
+22
-14
lines changedLines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
698 | 698 |
| |
699 | 699 |
| |
700 | 700 |
| |
| 701 | + | |
701 | 702 |
| |
702 | 703 |
| |
703 | 704 |
| |
| |||
1259 | 1260 |
| |
1260 | 1261 |
| |
1261 | 1262 |
| |
1262 |
| - | |
1263 |
| - | |
1264 |
| - | |
1265 |
| - | |
1266 |
| - | |
1267 |
| - | |
1268 |
| - | |
1269 |
| - | |
1270 |
| - | |
1271 |
| - | |
1272 |
| - | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
| 1267 | + | |
| 1268 | + | |
| 1269 | + | |
| 1270 | + | |
| 1271 | + | |
| 1272 | + | |
| 1273 | + | |
1273 | 1274 |
| |
1274 | 1275 |
| |
1275 | 1276 |
| |
|
Lines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3054 | 3054 |
| |
3055 | 3055 |
| |
3056 | 3056 |
| |
3057 |
| - | |
| 3057 | + | |
3058 | 3058 |
| |
3059 | 3059 |
| |
3060 |
| - | |
| 3060 | + | |
3061 | 3061 |
| |
3062 | 3062 |
| |
3063 | 3063 |
| |
| |||
3181 | 3181 |
| |
3182 | 3182 |
| |
3183 | 3183 |
| |
3184 |
| - | |
| 3184 | + | |
3185 | 3185 |
| |
3186 | 3186 |
| |
3187 | 3187 |
| |
| 3188 | + | |
3188 | 3189 |
| |
3189 | 3190 |
| |
3190 | 3191 |
| |
| |||
3628 | 3629 |
| |
3629 | 3630 |
| |
3630 | 3631 |
| |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
3631 | 3638 |
| |
3632 | 3639 |
| |
3633 | 3640 |
| |
|
0 commit comments
Comments
(0)