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

Function PQendcopy

src/interfaces/libpq/fe-exec.c:2840–2847  ·  view source on GitHub ↗

* PQendcopy * After completing the data transfer portion of a copy in/out, * the application must call this routine to finish the command protocol. * * This is deprecated; it's cleaner to use PQgetResult to get the transfer * status. * * RETURNS: * 0 on success * 1 on failure */

Source from the content-addressed store, hash-verified

2838 * 1 on failure
2839 */
2840int
2841PQendcopy(PGconn *conn)
2842{
2843 if (!conn)
2844 return 0;
2845
2846 return pqEndcopy3(conn);
2847}
2848
2849
2850/* ----------------

Callers 3

libpqrcv_endstreamingFunction · 0.85
ecpg_check_PQresultFunction · 0.85

Calls 1

pqEndcopy3Function · 0.85

Tested by

no test coverage detected