---------- * exec_stmt_loop Loop over statements until * an exit occurs. * ---------- */
| 2584 | * ---------- |
| 2585 | */ |
| 2586 | static int |
| 2587 | exec_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 | /* ---------- |
no test coverage detected