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

Function PQfsize

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

Source from the content-addressed store, hash-verified

3533}
3534
3535int
3536PQfsize(const PGresult *res, int field_num)
3537{
3538 if (!check_field_number(res, field_num))
3539 return 0;
3540 if (res->attDescs)
3541 return res->attDescs[field_num].typlen;
3542 else
3543 return 0;
3544}
3545
3546int
3547PQfmod(const PGresult *res, int field_num)

Callers 2

ECPGget_descFunction · 0.85
ecpg_build_compat_sqldaFunction · 0.85

Calls 1

check_field_numberFunction · 0.85

Tested by

no test coverage detected