forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc7a8f78
committed
Remove no-longer-appropriate special case in psql's \conninfo code.
\conninfo prints the results of PQhost() and some other libpq functions.It used to override the PQhost() result with the hostaddr parameter ifthat'd been given, but that's unhelpful when multiple hosts were listedin the connection string. Furthermore, it seems unnecessary in the wakeof commit1944cdc, since PQhost does any useful substitution itself.So let's just remove the extra code and print PQhost()'s result withoutany editorialization.Back-patch to v10, as1944cdc (just) was.Discussion:https://postgr.es/m/23287.1533227021@sss.pgh.pa.us1 parent24986c9 commitc7a8f78
1 file changed
+1
-21
lines changedLines changed: 1 addition & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
595 | 595 |
| |
596 | 596 |
| |
597 | 597 |
| |
598 |
| - | |
599 |
| - | |
600 |
| - | |
601 |
| - | |
602 |
| - | |
603 |
| - | |
604 |
| - | |
605 |
| - | |
606 |
| - | |
607 |
| - | |
608 |
| - | |
609 |
| - | |
610 |
| - | |
611 |
| - | |
612 |
| - | |
613 |
| - | |
614 |
| - | |
615 |
| - | |
616 |
| - | |
| 598 | + | |
617 | 599 |
| |
618 | 600 |
| |
619 | 601 |
| |
| |||
623 | 605 |
| |
624 | 606 |
| |
625 | 607 |
| |
626 |
| - | |
627 |
| - | |
628 | 608 |
| |
629 | 609 |
| |
630 | 610 |
| |
|
0 commit comments
Comments
(0)