forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit477728b
committed
psql: Add more information about service name
This commit adds support for the following items in psql, able to show aservice name, when available:- Variable SERVICE.- Substitution %s in PROMPT{1,2,3}.This relies on4b99fed, that has made the service name available inPGconn for libpq.Author: Michael BanckReviewed-by: Greg Sabino MullaneDiscussion:https://postgr.es/m/6723c612.050a0220.1567f4.b94a@mx.google.com1 parent4b99fed commit477728b
File tree
3 files changed
+22
-0
lines changed- doc/src/sgml/ref
- src/bin/psql
3 files changed
+22
-0
lines changedLines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4380 | 4380 |
| |
4381 | 4381 |
| |
4382 | 4382 |
| |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
4383 | 4392 |
| |
4384 | 4393 |
| |
4385 | 4394 |
| |
| |||
4674 | 4683 |
| |
4675 | 4684 |
| |
4676 | 4685 |
| |
| 4686 | + | |
| 4687 | + | |
| 4688 | + | |
| 4689 | + | |
| 4690 | + | |
4677 | 4691 |
| |
4678 | 4692 |
| |
4679 | 4693 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4082 | 4082 |
| |
4083 | 4083 |
| |
4084 | 4084 |
| |
| 4085 | + | |
4085 | 4086 |
| |
4086 | 4087 |
| |
4087 | 4088 |
| |
| |||
4115 | 4116 |
| |
4116 | 4117 |
| |
4117 | 4118 |
| |
| 4119 | + | |
4118 | 4120 |
| |
4119 | 4121 |
| |
4120 | 4122 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
165 | 166 |
| |
166 | 167 |
| |
167 | 168 |
| |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
168 | 174 |
| |
169 | 175 |
| |
170 | 176 |
| |
|
0 commit comments
Comments
(0)