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

Function ArrayCast

src/backend/utils/adt/arrayfuncs.c:4705–4709  ·  view source on GitHub ↗

* Fetch array element at pointer, converted correctly to a Datum * * Caller must have handled case of NULL element */

Source from the content-addressed store, hash-verified

4703 * Caller must have handled case of NULL element
4704 */
4705static Datum
4706ArrayCast(char *value, bool byval, int len)
4707{
4708 return fetch_att(value, byval, len);
4709}
4710
4711/*
4712 * Copy datum to *dest and return total space used (including align padding)

Callers 1

array_get_elementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected