forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit03d4655
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 parentcb24cd3 commit03d4655
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 |
| |
| |||
2565 | 2565 |
| |
2566 | 2566 |
| |
2567 | 2567 |
| |
2568 |
| - | |
2569 |
| - | |
2570 |
| - | |
| 2568 | + | |
| 2569 | + | |
| 2570 | + | |
2571 | 2571 |
| |
2572 | 2572 |
| |
2573 |
| - | |
2574 |
| - | |
| 2573 | + | |
| 2574 | + | |
2575 | 2575 |
| |
2576 | 2576 |
| |
2577 | 2577 |
| |
|
0 commit comments
Comments
(0)