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

Function PQfformat

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

Source from the content-addressed store, hash-verified

3511}
3512
3513int
3514PQfformat(const PGresult *res, int field_num)
3515{
3516 if (!check_field_number(res, field_num))
3517 return 0;
3518 if (res->attDescs)
3519 return res->attDescs[field_num].format;
3520 else
3521 return 0;
3522}
3523
3524Oid
3525PQftype(const PGresult *res, int field_num)

Callers 4

ecpg_get_dataFunction · 0.85
ecpg_store_resultFunction · 0.85
receiveFileChunksFunction · 0.85

Calls 1

check_field_numberFunction · 0.85

Tested by

no test coverage detected