forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbe41a9b
committed
Fix errorhandling for reading from a pipe
When reading a line from a pipe failed on no data being read, theerrorhandling was erroneously logging with %m even thoug no errordescription is available for %m to print. This flaw accidentallyintroduced in5c7038d.Reported-by: Peter Eisentraut <peter@eisentraut.org>Discussion:https://postgr.es/m/baa34329-f431-46af-bf74-1a78fdc90e4f@eisentraut.org1 parent6929e13 commitbe41a9b
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
393 | 393 |
| |
394 | 394 |
| |
395 | 395 |
| |
396 |
| - | |
397 |
| - | |
| 396 | + | |
| 397 | + | |
398 | 398 |
| |
399 | 399 |
| |
400 | 400 |
| |
|
0 commit comments
Comments
(0)