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

Function exec_stmt_loop

src/pl/plpgsql/src/pl_exec.c:2586–2599  ·  view source on GitHub ↗

---------- * exec_stmt_loop Loop over statements until * an exit occurs. * ---------- */

Source from the content-addressed store, hash-verified

2584 * ----------
2585 */
2586static int
2587exec_stmt_loop(PLpgSQL_execstate *estate, PLpgSQL_stmt_loop *stmt)
2588{
2589 int rc = PLPGSQL_RC_OK;
2590
2591 for (;;)
2592 {
2593 rc = exec_stmts(estate, stmt->body);
2594
2595 LOOP_RC_PROCESSING(stmt->label, break);
2596 }
2597
2598 return rc;
2599}
2600
2601
2602/* ----------

Callers 1

exec_stmtsFunction · 0.85

Calls 1

exec_stmtsFunction · 0.85

Tested by

no test coverage detected