module
CQL::Postgres::BinaryCopy
Overview
The framing of PostgreSQL's binary COPY format: an 11-byte signature, a flags field and header extension, then one tuple per row (a field count and, for each field, a length and the bytes, or -1 for NULL), closed by a field count of -1.
Defined in:
postgres/binary_copy.crConstant Summary
-
HEADER =
SIGNATURE + Bytes[0, 0, 0, 0, 0, 0, 0, 0] -
SIGNATURE =
Bytes[80, 71, 67, 79, 80, 89, 10, 255, 13, 10, 0] -
TRAILER =
Bytes[255, 255]