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

Function PQfmod

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

Source from the content-addressed store, hash-verified

3544}
3545
3546int
3547PQfmod(const PGresult *res, int field_num)
3548{
3549 if (!check_field_number(res, field_num))
3550 return 0;
3551 if (res->attDescs)
3552 return res->attDescs[field_num].atttypmod;
3553 else
3554 return 0;
3555}
3556
3557char *
3558PQcmdStatus(PGresult *res)

Callers 2

ECPGget_descFunction · 0.85
DescribeQueryFunction · 0.85

Calls 1

check_field_numberFunction · 0.85

Tested by

no test coverage detected