Skip to main content

fetch_response

Function fetch_response 

Source
fn fetch_response(cursor: ActiveCursor, target: FetchTarget) -> Response
Expand description

Strict-PG FETCH: blocks until target rows are produced, the pump exits, or the broadcast lags. Lag/exit flips cursor.inner.exhausted so the next evict_idle_peer reaps the cursor. Text format only; SimpleQuery has no binary. Leftover rows from a multi-row frame stay in cursor.inner.pending so successive FETCHes consume the frame in order.