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

Function PQresultAlloc

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

* pqResultAlloc - exported routine to allocate local storage in a PGresult. * * We force all such allocations to be maxaligned, since we don't know * whether the value might be binary. */

Source from the content-addressed store, hash-verified

544 * whether the value might be binary.
545 */
546void *
547PQresultAlloc(PGresult *res, size_t nBytes)
548{
549 return pqResultAlloc(res, nBytes, true);
550}
551
552/*
553 * pqResultAlloc -

Callers 1

PQsetResultAttrsFunction · 0.85

Calls 1

pqResultAllocFunction · 0.85

Tested by

no test coverage detected