Reimplement 9f80f4835a55a1cbffcda5d23a617917f3286c14 with PQconninfo().
Noah Misch <noah@leadboat.com>
Reimplement 9f80f4835a55a1cbffcda5d23a617917f3286c14 with PQconninfo(). Apart from ignoring "hostaddr" set to the empty string, this behaves identically to its predecessor. Back-patch to 9.4, where the original commit first appeared. Reviewed by Fujii Masao.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/command.c | modified | +22 −1 |