forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitad48256
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 parentc9048d3 commitad48256
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 |
| |
| |||
2703 | 2703 |
| |
2704 | 2704 |
| |
2705 | 2705 |
| |
2706 |
| - | |
2707 |
| - | |
2708 |
| - | |
| 2706 | + | |
| 2707 | + | |
| 2708 | + | |
2709 | 2709 |
| |
2710 | 2710 |
| |
2711 |
| - | |
2712 |
| - | |
| 2711 | + | |
| 2712 | + | |
2713 | 2713 |
| |
2714 | 2714 |
| |
2715 | 2715 |
| |
|
0 commit comments
Comments
(0)