Skip to main content

COPY_IN_MAX_PAYLOAD_BYTES

Constant COPY_IN_MAX_PAYLOAD_BYTES 

Source
pub const COPY_IN_MAX_PAYLOAD_BYTES: u64 = _; // 67_108_864u64
Expand description

Default upper bound of a table-less COPY FROM STDIN payload (influxdb line protocol, OTLP, Prometheus Remote Write). One COPY statement is one bounded ingestion request (the whole payload is buffered like one HTTP request body); a larger import is multiple COPY statements. Deployments override it with postgres.max_copy_in_payload (0 disables the bound).