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

Function array_larger

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

Source from the content-addressed store, hash-verified

5766
5767
5768Datum
5769array_larger(PG_FUNCTION_ARGS)
5770{
5771 if (array_cmp(fcinfo) > 0)
5772 PG_RETURN_DATUM(PG_GETARG_DATUM(0));
5773 else
5774 PG_RETURN_DATUM(PG_GETARG_DATUM(1));
5775}
5776
5777Datum
5778array_smaller(PG_FUNCTION_ARGS)

Callers

nothing calls this directly

Calls 1

array_cmpFunction · 0.85

Tested by

no test coverage detected