Skip to main content

MAX_INPUT_BYTES

Constant MAX_INPUT_BYTES 

Source
pub const MAX_INPUT_BYTES: usize = _ /* 98_304usize */;
Expand description

The longest statement parsed. Within the other bounds a parse’s time and memory grow linearly with its input, by up to about 6 µs and 4.3 KB a byte; at this size the costliest measured shape, a list of short left-deep operator chains (SELECT 1, a&a&…&a, …), takes 0.5 s and 416 MB (release, Apple silicon), a tenth of the default parse timeout and two fifths of a process’s address space.