Skip to main content

standard_or_cursor_response

Function standard_or_cursor_response 

Source
fn standard_or_cursor_response(
    db: &LaminarDB,
    state: &ConnState,
    stmt: Statement,
) -> PgWireResult<Response>
Expand description

Wraps the original standard_response and intercepts cursor / transaction statements that need ConnState. Anything else falls through to the existing handler unchanged.