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

Function enum_smaller

src/backend/utils/adt/enum.c:353–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353Datum
354enum_smaller(PG_FUNCTION_ARGS)
355{
356 Oid a = PG_GETARG_OID(0);
357 Oid b = PG_GETARG_OID(1);
358
359 PG_RETURN_OID(enum_cmp_internal(a, b, fcinfo) < 0 ? a : b);
360}
361
362Datum
363enum_larger(PG_FUNCTION_ARGS)

Callers

nothing calls this directly

Calls 1

enum_cmp_internalFunction · 0.85

Tested by

no test coverage detected