---------- * exec_stmt_assign Evaluate an expression and * put the result into a variable. * ---------- */
| 2116 | * ---------- |
| 2117 | */ |
| 2118 | static int |
| 2119 | exec_stmt_assign(PLpgSQL_execstate *estate, PLpgSQL_stmt_assign *stmt) |
| 2120 | { |
| 2121 | Assert(stmt->varno >= 0); |
| 2122 | |
| 2123 | exec_assign_expr(estate, estate->datums[stmt->varno], stmt->expr); |
| 2124 | |
| 2125 | return PLPGSQL_RC_OK; |
| 2126 | } |
| 2127 | |
| 2128 | /* ---------- |
| 2129 | * exec_stmt_perform Evaluate query and discard result (but set |
no test coverage detected