Skip to main content

is_copy_data_block

Function is_copy_data_block 

Source
pub fn is_copy_data_block(stmt: &[u8]) -> bool
Expand description

Returns true if stmt looks like a PostgreSQL COPY data block, i.e. it ends with the \. terminator line.