- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit4b99fed
committed
libpq: Add service name to PGconn and PQservice()
This commit adds one field to PGconn for the database service name (ifany), with PQservice() as routine to retrieve it. Like the otherroutines of this area, NULL is returned as result if the connection isNULL.A follow-up patch will make use of this feature to be able to displaythe service name in the psql prompt.Author: Michael BanckReviewed-by: Greg Sabino MullaneDiscusion:https://postgr.es/m/6723c612.050a0220.1567f4.b94a@mx.google.com1 parent3f06324 commit4b99fed
File tree
5 files changed
+33
-1
lines changed- doc/src/sgml
- src/interfaces/libpq
5 files changed
+33
-1
lines changedLines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2530 | 2530 |
| |
2531 | 2531 |
| |
2532 | 2532 |
| |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
| 2542 | + | |
| 2543 | + | |
| 2544 | + | |
| 2545 | + | |
| 2546 | + | |
| 2547 | + | |
| 2548 | + | |
| 2549 | + | |
| 2550 | + | |
| 2551 | + | |
| 2552 | + | |
2533 | 2553 |
| |
2534 | 2554 |
| |
2535 | 2555 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
| 208 | + |
Lines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
| 194 | + | |
194 | 195 |
| |
195 | 196 |
| |
196 | 197 |
| |
| |||
7040 | 7041 |
| |
7041 | 7042 |
| |
7042 | 7043 |
| |
| 7044 | + | |
| 7045 | + | |
| 7046 | + | |
| 7047 | + | |
| 7048 | + | |
| 7049 | + | |
| 7050 | + | |
| 7051 | + | |
7043 | 7052 |
| |
7044 | 7053 |
| |
7045 | 7054 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
385 | 385 |
| |
386 | 386 |
| |
387 | 387 |
| |
| 388 | + | |
388 | 389 |
| |
389 | 390 |
| |
390 | 391 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
394 | 394 |
| |
395 | 395 |
| |
396 | 396 |
| |
| 397 | + | |
397 | 398 |
| |
398 | 399 |
| |
399 | 400 |
| |
|
0 commit comments
Comments
(0)