Skip to main content

MAX_VALUE_COUNT

Constant MAX_VALUE_COUNT 

Source
pub const MAX_VALUE_COUNT: usize = _ /* 65_535usize */;
Expand description

Maximum number of values in one Bind or COPY row.

The protocol encodes these counts as a 16-bit field that PostgreSQL reads as unsigned, so the limit is 65535 and not 32767.