Fix errorhandling for reading from a pipe

When reading a line from a pipe failed on no data being read, the
errorhandling was erroneously logging with %m even thoug no error
description is available for %m to print.  This flaw accidentally
introduced in 5c7038d70bb.

Reported-by: Peter Eisentraut <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be41a9b0380778a07386208afbf3f41ba7286cf3

Modified Files
--------------
src/common/exec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Reply via email to