MCPcopy Create free account
hub / github.com/apache/madlib / element_min

Function element_min

methods/array_ops/src/pg_gp/array_ops.c:1316–1322  ·  view source on GitHub ↗

* Return min2(elt1, result). * First element if flag == 0 */

Source from the content-addressed store, hash-verified

1314 * First element if flag == 0
1315 */
1316static
1317inline
1318Datum
1319element_min(Datum element, Oid elt_type, Datum result,
1320 Oid result_type, Datum opt_elt, Oid opt_type){
1321 return element_op(element, elt_type, result, result_type, opt_elt, opt_type, float8_min);
1322}
1323
1324/*
1325 * Return max(element, index).

Callers

nothing calls this directly

Calls 1

element_opFunction · 0.85

Tested by

no test coverage detected