Fix errorhandling for reading from a pipe
Daniel Gustafsson <dgustafsson@postgresql.org>
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 <peter@eisentraut.org> Discussion: https://postgr.es/m/baa34329-f431-46af-bf74-1a78fdc90e4f@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/common/exec.c | modified | +2 −2 |
Discussion
- pipe_read_line for reading arbitrary strings 16 messages · 2023-03-07 → 2024-03-08