TxnControlExpr implements PL/pgSQL COMMIT and ROLLBACK statements. It directs the session to end the current transaction, and provides a plan to resume execution in a new transaction in the form of StoredProcContinuation.
| 343 | // the session to end the current transaction, and provides a plan to resume |
| 344 | // execution in a new transaction in the form of StoredProcContinuation. |
| 345 | type TxnControlExpr struct { |
| 346 | Op StoredProcTxnOp |
| 347 | Modes TransactionModes |
| 348 | Args TypedExprs |
| 349 | Gen TxnControlPlanGenerator |
| 350 | |
| 351 | Name string |
| 352 | Typ *types.T |
| 353 | } |
| 354 | |
| 355 | var _ Expr = &TxnControlExpr{} |
| 356 |
nothing calls this directly
no outgoing calls
no test coverage detected