Reimplement 9f80f483 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.
Showing
Please register or sign in to comment