MCPcopy Create free account
hub / github.com/apache/cloudberry / PQconninfoFree

Function PQconninfoFree

src/interfaces/libpq/fe-connect.c:6813–6827  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6811
6812
6813void
6814PQconninfoFree(PQconninfoOption *connOptions)
6815{
6816 PQconninfoOption *option;
6817
6818 if (connOptions == NULL)
6819 return;
6820
6821 for (option = connOptions; option->keyword != NULL; option++)
6822 {
6823 if (option->val != NULL)
6824 free(option->val);
6825 }
6826 free(connOptions);
6827}
6828
6829
6830/* =========== accessor functions for PGconn ========= */

Callers 14

dblink_connstr_checkFunction · 0.85
libpqrcv_check_conninfoFunction · 0.85
libpqrcv_get_conninfoFunction · 0.85
GenerateRecoveryConfigFunction · 0.85
PQconnectStartParamsFunction · 0.85
connectOptions1Function · 0.85
PQconndefaultsFunction · 0.85
conninfo_parseFunction · 0.85
conninfo_array_parseFunction · 0.85
conninfo_uri_parseFunction · 0.85
do_connectFunction · 0.85
check_pghost_envvarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected