Skip to main content

REGISTERED_FORMATS

Constant REGISTERED_FORMATS 

Source
const REGISTERED_FORMATS: &[(&str, fn(CopyOptionSet) -> PgWireResult<CopyFormat>)];
Expand description

The registered COPY FROM STDIN formats: accepted FORMAT name to builder. csv is the only implemented format; the others are registered so they report a clear “not supported yet” instead of an unknown-format error.