libpq: Add pqReleaseConnHosts function

In a follow up commit we'll need to free this connhost field in a
function defined in fe-cancel.c, so here we extract the logic to a
dedicated extern function.

Author: Jelte Fennema-Nio <jelte.fenn...@microsoft.com>
Discussion: 
https://postgr.es/m/am5pr83mb0178d3b31ca1b6ec4a8ecc42f7...@am5pr83mb0178.eurprd83.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/53747f722228d2cd4d7054c4d509b27dc89306ae

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 39 ++++++++++++++++++++++++++-------------
src/interfaces/libpq/libpq-int.h  |  1 +
2 files changed, 27 insertions(+), 13 deletions(-)

Reply via email to