forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf50dc2c
committed
psql: call clearerr() just before printing
We were never doing clearerr() on the output stream, which results in amessage being printed after each result once an EOF is seen:could not print result table: SuccessThis message was added by commitb034369 (in the pg13 era); beforethat, the error indicator would never be examined. So backpatch onlythat far back, even though the actual bug (to wit: the fact that theerror indicator is never cleared) is older.1 parent092d3db commitf50dc2c
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3347 | 3347 |
| |
3348 | 3348 |
| |
3349 | 3349 |
| |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
3350 | 3353 |
| |
3351 | 3354 |
| |
3352 | 3355 |
| |
|
0 commit comments
Comments
(0)