Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 293 Bytes

File metadata and controls

5 lines (3 loc) · 293 Bytes

Examples for working with Postgres bytea type.

Postgres' bytea type can be represented as a borrowed &[u8] or an owned Vec<u8> with Rust.

This example demonstrates how to use libflate to gzip/gunzip bytea (and text) data directly from UDFs.