---------- * exec_set_found Set the global found variable to true/false * ---------- */
| 8219 | * ---------- |
| 8220 | */ |
| 8221 | static void |
| 8222 | exec_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 |
no test coverage detected