psql: Catch and report errors while printing result table
Peter Eisentraut <peter@eisentraut.org>
psql: Catch and report errors while printing result table Errors (for example I/O errors or disk full) while printing out result tables were completely ignored, which could result in silently truncated output in scripts, for example. Fix by adding some basic error checking and reporting. Author: Daniel Verite <daniel@manitou-mail.org> Author: David Zhang <david.zhang@highgo.ca> Discussion: https://www.postgresql.org/message-id/flat/9a0b3c8d-ee14-4b1d-9d0a-2c993bdabacc@manitou-mail.org
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/common.c | modified | +14 −1 |
Discussion
- Making psql error out on output failures 17 messages · 2019-12-16 → 2020-03-23