forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit39d51fe
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 parent9f77ad2 commit39d51fe
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 | |
---|---|---|---|
| |||
270 | 270 |
| |
271 | 271 |
| |
272 | 272 |
| |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
273 | 293 |
| |
274 | 294 |
| |
275 | 295 |
| |
|
0 commit comments
Comments
(0)