mz_pgcopy

Function encode_copy_format

Source
pub fn encode_copy_format<'a>(
    params: &CopyFormatParams<'a>,
    row: &RowRef,
    typ: &RelationType,
    out: &mut Vec<u8>,
) -> Result<(), Error>
Expand description

Encodes the given Row into bytes based on the given CopyFormatParams.