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

Function element_max

methods/array_ops/src/pg_gp/array_ops.c:1364–1370  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1362 * First element if flag == 0
1363 */
1364static
1365inline
1366Datum
1367element_max(Datum element, Oid elt_type, Datum result,
1368 Oid result_type, Datum opt_elt, Oid opt_type){
1369 return element_op(element, elt_type, result, result_type, opt_elt, opt_type, float8_max);
1370}
1371
1372/*
1373 * Add elt1*elt2 to result.

Callers

nothing calls this directly

Calls 1

element_opFunction · 0.85

Tested by

no test coverage detected