forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit02d0937
committed
Fix documentation of psql's ECHO all mode.
"ECHO all" is ignored for interactive input, and has been for a very longtime, though possibly not for as long as the documentation has claimed theopposite. Fix that, and also note that empty lines aren't echoed, whichwhile dubious is another longstanding behavior (it's embedded in ourregression test files for one thing). Per bug #12721 from Hans Ginzel.In HEAD, also improve the code comments in this area, and suppress anunnecessary fflush(stdout) when we're not echoing. That would likelybe safe to back-patch, but I'll not risk it mere hours before a releasewrap.1 parentc2b06ab commit02d0937
1 file changed
+7
-7
lines changedLines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
56 |
| - | |
57 |
| - | |
| 56 | + | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| |||
2807 | 2807 |
| |
2808 | 2808 |
| |
2809 | 2809 |
| |
2810 |
| - | |
2811 |
| - | |
2812 |
| - | |
| 2810 | + | |
| 2811 | + | |
| 2812 | + | |
2813 | 2813 |
| |
2814 | 2814 |
| |
2815 |
| - | |
2816 |
| - | |
| 2815 | + | |
| 2816 | + | |
2817 | 2817 |
| |
2818 | 2818 |
| |
2819 | 2819 |
| |
|
0 commit comments
Comments
(0)