forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc2e5f60
committed
Fix handling of pgbench's hash when no argument is provided
Depending on the platform used, this can cause a crash in the worstcase, or an unhelpful error message, so fail gracefully.Author: Fabien CoelhoDiscussion:https://postgr.es/m/alpine.DEB.2.21.1807262302550.29874@lancreBackpatch: 11-, where hash() has been added in pgbench.1 parentc606f10 commitc2e5f60
2 files changed
+21
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
467 | 467 |
| |
468 | 468 |
| |
469 | 469 |
| |
470 |
| - | |
| 470 | + | |
471 | 471 |
| |
472 | 472 |
| |
473 | 473 |
| |
|
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
266 | 266 |
| |
267 | 267 |
| |
268 | 268 |
| |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
269 | 289 |
| |
270 | 290 |
| |
271 | 291 |
| |
|
0 commit comments
Comments
(0)