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

Function PQresetStart

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

* PQresetStart: * resets the connection to the backend * closes the existing connection and makes a new one * Returns 1 on success, 0 on failure. */

Source from the content-addressed store, hash-verified

4448 * Returns 1 on success, 0 on failure.
4449 */
4450int
4451PQresetStart(PGconn *conn)
4452{
4453 if (conn)
4454 {
4455 closePGconn(conn);
4456
4457 return connectDBStart(conn);
4458 }
4459
4460 return 0;
4461}
4462
4463
4464/*

Callers

nothing calls this directly

Calls 2

closePGconnFunction · 0.85
connectDBStartFunction · 0.85

Tested by

no test coverage detected