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

Function FunctionCall1Coll

src/backend/utils/fmgr/fmgr.c:1129–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1127}
1128
1129Datum
1130FunctionCall1Coll(FmgrInfo *flinfo, Oid collation, Datum arg1)
1131{
1132 LOCAL_FCINFO(fcinfo, 1);
1133 Datum result;
1134
1135 InitFunctionCallInfoData(*fcinfo, flinfo, 1, collation, NULL, NULL);
1136
1137 fcinfo->args[0].value = arg1;
1138 fcinfo->args[0].isnull = false;
1139
1140 result = FunctionCallInvoke(fcinfo);
1141
1142 /* Check for null result, since caller is clearly not expecting one */
1143 if (fcinfo->isnull)
1144 elog(ERROR, "function %u returned NULL", flinfo->fn_oid);
1145
1146 return result;
1147}
1148
1149Datum
1150FunctionCall2Coll(FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2)

Callers 15

SerializeMethod · 0.85
MergeToMethod · 0.85
TypeValueToCStringFunction · 0.85
ExecCastNodeMethod · 0.85
FunctionCall1CollMethod · 0.85
signValueFunction · 0.85
element_hashFunction · 0.85
hash_multirangeFunction · 0.85
hash_rangeFunction · 0.85
OidFunctionCall1CollFunction · 0.85
datumHashTableHashFunction · 0.85
spgdoinsertFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected