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

Function PQsendQuery

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

* PQsendQuery * Submit a query, but don't wait for it to finish * * Returns: 1 if successfully submitted * 0 if error (conn->errorMessage is set) * * PQsendQueryContinue is a non-exported version that behaves identically * except that it doesn't reset conn->errorMessage. */

Source from the content-addressed store, hash-verified

1357 * except that it doesn't reset conn->errorMessage.
1358 */
1359int
1360PQsendQuery(PGconn *conn, const char *query)
1361{
1362 return PQsendQueryInternal(conn, query, true);
1363}
1364
1365int
1366PQsendQueryContinue(PGconn *conn, const char *query)

Callers 15

do_sql_commandFunction · 0.85
pgfdw_exec_queryFunction · 0.85
pgfdw_exec_cleanup_queryFunction · 0.85
fetch_more_data_beginFunction · 0.85
dblink_send_queryFunction · 0.85
storeQueryResultFunction · 0.85
ftsSendFunction · 0.85
ManageCronTaskFunction · 0.85
libpqrcv_PQexecFunction · 0.85
run_permutationFunction · 0.85
test_pipeline_abortFunction · 0.85
PQexecFunction · 0.85

Calls 1

PQsendQueryInternalFunction · 0.85

Tested by 2

run_permutationFunction · 0.68
test_pipeline_abortFunction · 0.68