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

Function PQparamtype

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

PQparamtype: * returns type Oid of the specified statement parameter. */

Source from the content-addressed store, hash-verified

3728 * returns type Oid of the specified statement parameter.
3729 */
3730Oid
3731PQparamtype(const PGresult *res, int param_num)
3732{
3733 if (!check_param_number(res, param_num))
3734 return InvalidOid;
3735 if (res->paramDescs)
3736 return res->paramDescs[param_num].typid;
3737 else
3738 return InvalidOid;
3739}
3740
3741
3742/* PQsetnonblocking:

Callers

nothing calls this directly

Calls 1

check_param_numberFunction · 0.85

Tested by

no test coverage detected