Back to Yugabyte Db

README

src/postgres/third-party-extensions/pgrx/pgrx-examples/custom_sql/README.md

2026.1.0.0-b25328 B
Original Source

Examples for working with Postgres extension_sql and extension_sql_file macros.

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.