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

Function PQftype

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

Source from the content-addressed store, hash-verified

3522}
3523
3524Oid
3525PQftype(const PGresult *res, int field_num)
3526{
3527 if (!check_field_number(res, field_num))
3528 return InvalidOid;
3529 if (res->attDescs)
3530 return res->attDescs[field_num].typid;
3531 else
3532 return InvalidOid;
3533}
3534
3535int
3536PQfsize(const PGresult *res, int field_num)

Callers 12

printQueryFunction · 0.85
test_preparedFunction · 0.85
ECPGget_descFunction · 0.85
sqlda_common_total_sizeFunction · 0.85
ecpg_build_compat_sqldaFunction · 0.85
ecpg_build_native_sqldaFunction · 0.85
ecpg_store_resultFunction · 0.85
receiveFileChunksFunction · 0.85
printCrosstabFunction · 0.85
DescribeQueryFunction · 0.85
dumpTableData_insertFunction · 0.85

Calls 1

check_field_numberFunction · 0.85

Tested by 1

test_preparedFunction · 0.68