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

Function exec_set_found

src/pl/plpgsql/src/pl_exec.c:8221–8228  ·  view source on GitHub ↗

---------- * exec_set_found Set the global found variable to true/false * ---------- */

Source from the content-addressed store, hash-verified

8219 * ----------
8220 */
8221static void
8222exec_set_found(PLpgSQL_execstate *estate, bool state)
8223{
8224 PLpgSQL_var *var;
8225
8226 var = (PLpgSQL_var *) (estate->datums[estate->found_varno]);
8227 assign_simple_var(estate, var, BoolGetDatum(state), false, false);
8228}
8229
8230/*
8231 * plpgsql_create_econtext --- create an eval_econtext for the current function

Callers 9

plpgsql_exec_functionFunction · 0.85
plpgsql_exec_triggerFunction · 0.85
exec_stmt_performFunction · 0.85
exec_stmt_foriFunction · 0.85
exec_stmt_foreach_aFunction · 0.85
exec_stmt_return_queryFunction · 0.85
exec_stmt_execsqlFunction · 0.85
exec_stmt_fetchFunction · 0.85
exec_for_queryFunction · 0.85

Calls 2

assign_simple_varFunction · 0.85
BoolGetDatumFunction · 0.85

Tested by

no test coverage detected