forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit19c590f
committed
Adjust extra lines generated by psql to be valid SQL comments.
psql's --echo-hidden, --log-file, and --single-step optionsgenerate extra lines to clearly separate queries from other output.Presently, these extra lines are not valid SQL comments, whichmakes them a hazard for anyone trying to copy/paste the decoratedqueries into a client or query editor. This commit replaces thestarting and ending asterisks in these extra lines with forwardslashes so that they are valid SQL comments that can be copy/pastedwithout incident.Author: Kirk WolakReviewed-by: Pavel Stehule, Laurenz Albe, Tom Lane, Alvaro Herrera, Andrey BorodinDiscussion:https://postgr.es/m/CACLU5mTFJRJYtbvmZ26txGgmXWQo0hkGhH2o3hEquUPmSbGtBw%40mail.gmail.com1 parent03734a7 commit19c590f
2 files changed
+12
-12
lines changedLines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5395 | 5395 |
| |
5396 | 5396 |
| |
5397 | 5397 |
| |
5398 |
| - | |
| 5398 | + | |
5399 | 5399 |
| |
5400 |
| - | |
| 5400 | + | |
5401 | 5401 |
| |
5402 | 5402 |
| |
5403 | 5403 |
| |
5404 | 5404 |
| |
5405 |
| - | |
| 5405 | + | |
5406 | 5406 |
| |
5407 |
| - | |
| 5407 | + | |
5408 | 5408 |
| |
5409 | 5409 |
| |
5410 | 5410 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
589 | 589 |
| |
590 | 590 |
| |
591 | 591 |
| |
592 |
| - | |
| 592 | + | |
593 | 593 |
| |
594 |
| - | |
| 594 | + | |
595 | 595 |
| |
596 | 596 |
| |
597 | 597 |
| |
598 | 598 |
| |
599 |
| - | |
| 599 | + | |
600 | 600 |
| |
601 |
| - | |
| 601 | + | |
602 | 602 |
| |
603 | 603 |
| |
604 | 604 |
| |
| |||
1060 | 1060 |
| |
1061 | 1061 |
| |
1062 | 1062 |
| |
1063 |
| - | |
| 1063 | + | |
1064 | 1064 |
| |
1065 |
| - | |
| 1065 | + | |
1066 | 1066 |
| |
1067 | 1067 |
| |
1068 | 1068 |
| |
| |||
1080 | 1080 |
| |
1081 | 1081 |
| |
1082 | 1082 |
| |
1083 |
| - | |
| 1083 | + | |
1084 | 1084 |
| |
1085 |
| - | |
| 1085 | + | |
1086 | 1086 |
| |
1087 | 1087 |
| |
1088 | 1088 |
| |
|
0 commit comments
Comments
(0)