forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit73162ee
committed
Improve reporting of error situations in find_other_exec().
This function suppressed any stderr output from the called program, whichis unnecessary in the normal case and unhelpful in error cases. It alsogave a rather opaque message along the lines of "fgets failure: Success"in case the called program failed to return anything on stdout. Sincewe've seen multiple reports of people not understanding what's wrong whenpg_ctl reports this, improve the message.Back-patch to all active branches.1 parent3262b19 commit73162ee
1 file changed
+11
-2
lines changedLines changed: 11 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
322 | 322 |
| |
323 | 323 |
| |
324 | 324 |
| |
325 |
| - | |
| 325 | + | |
326 | 326 |
| |
327 | 327 |
| |
328 | 328 |
| |
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
| 355 | + | |
355 | 356 |
| |
| 357 | + | |
| 358 | + | |
356 | 359 |
| |
| 360 | + | |
357 | 361 |
| |
| 362 | + | |
358 | 363 |
| |
359 | 364 |
| |
360 |
| - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
361 | 370 |
| |
362 | 371 |
| |
363 | 372 |
| |
|
0 commit comments
Comments
(0)