pub fn is_copy_data_block(stmt: &[u8]) -> bool
Returns true if stmt looks like a PostgreSQL COPY data block, i.e. it ends with the \. terminator line.
stmt
\.