Skip to main content

Module copy_from

Module copy_from 

Source

Structsยง

ColumnTransform ๐Ÿ”’
Describes how to transform a partial row (with only specified columns) into a full row matching the table schema.

Enumsยง

ColumnSource ๐Ÿ”’

Constantsยง

COPY_FROM_STDIN_MAX_BATCH_BYTES ๐Ÿ”’
Finalize persist batches periodically during COPY FROM STDIN to avoid unbounded in-memory growth in a single giant batch.
COPY_FROM_STDIN_MAX_WORKERS ๐Ÿ”’
Cap on the number of parallel decode workers spawned per COPY FROM STDIN. A single network-bound stream sees marginal gains past a handful of decoders, and capping bounds how much of the blocking pool any one COPY can occupy while actively decoding.