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

Function FunctionCall5Coll

src/backend/utils/fmgr/fmgr.c:1223–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1221}
1222
1223Datum
1224FunctionCall5Coll(FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2,
1225 Datum arg3, Datum arg4, Datum arg5)
1226{
1227 LOCAL_FCINFO(fcinfo, 5);
1228 Datum result;
1229
1230 InitFunctionCallInfoData(*fcinfo, flinfo, 5, collation, NULL, NULL);
1231
1232 fcinfo->args[0].value = arg1;
1233 fcinfo->args[0].isnull = false;
1234 fcinfo->args[1].value = arg2;
1235 fcinfo->args[1].isnull = false;
1236 fcinfo->args[2].value = arg3;
1237 fcinfo->args[2].isnull = false;
1238 fcinfo->args[3].value = arg4;
1239 fcinfo->args[3].isnull = false;
1240 fcinfo->args[4].value = arg5;
1241 fcinfo->args[4].isnull = false;
1242
1243 result = FunctionCallInvoke(fcinfo);
1244
1245 /* Check for null result, since caller is clearly not expecting one */
1246 if (fcinfo->isnull)
1247 elog(ERROR, "function %u returned NULL", flinfo->fn_oid);
1248
1249 return result;
1250}
1251
1252Datum
1253FunctionCall6Coll(FmgrInfo *flinfo, Oid collation, Datum arg1, Datum arg2,

Callers 5

scalararrayselFunction · 0.85
OidFunctionCall5CollFunction · 0.85
gistindex_keytestFunction · 0.85
update_frameheadposFunction · 0.85
update_frametailposFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected