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

Function PQpingParams

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

* PQpingParams * * check server status, accepting parameters identical to PQconnectdbParams */

Source from the content-addressed store, hash-verified

742 * check server status, accepting parameters identical to PQconnectdbParams
743 */
744PGPing
745PQpingParams(const char *const *keywords,
746 const char *const *values,
747 int expand_dbname)
748{
749 PGconn *conn = PQconnectStartParams(keywords, values, expand_dbname);
750 PGPing ret;
751
752 ret = internal_ping(conn);
753 PQfinish(conn);
754
755 return ret;
756}
757
758/*
759 * PQconnectdb

Callers 1

mainFunction · 0.85

Calls 3

PQconnectStartParamsFunction · 0.85
internal_pingFunction · 0.85
PQfinishFunction · 0.85

Tested by

no test coverage detected