pgsql: libpq: Add pqReleaseConnHosts function

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: libpq: Add pqReleaseConnHosts function
Date: 2024-02-04 15:23:05
Message-ID: E1rWeKn-004dqI-Ks@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)fennema(at)microsoft(dot)com>
Discussion: https://postgr.es/m/AM5PR83MB0178D3B31CA1B6EC4A8ECC42F7529@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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2024-02-04 15:35:50 pgsql: libpq: Change some static functions to extern
Previous Message Michael Paquier 2024-02-04 01:53:14 pgsql: pg_basebackup: Fix check for MINIMUM_VERSION_FOR_WAL_SUMMARIES