Skip to main content

MAX_RESPONSE_BYTES

Constant MAX_RESPONSE_BYTES 

pub const MAX_RESPONSE_BYTES: usize = _ /* 67_108_864usize */;
Expand description

The largest response body Neon’s /sql endpoint will return.

64 MiB, and it is a hard ceiling rather than a default: there is no cursor to fall back on when a result set exceeds it. See NeonError::ResponseTooLarge.