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

Function PQftablecol

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

Source from the content-addressed store, hash-verified

3500}
3501
3502int
3503PQftablecol(const PGresult *res, int field_num)
3504{
3505 if (!check_field_number(res, field_num))
3506 return 0;
3507 if (res->attDescs)
3508 return res->attDescs[field_num].columnid;
3509 else
3510 return 0;
3511}
3512
3513int
3514PQfformat(const PGresult *res, int field_num)

Callers

nothing calls this directly

Calls 1

check_field_numberFunction · 0.85

Tested by

no test coverage detected