This directory contains examples of how to work with various aspects of pgx.
- arrays/: Working with Arrays
- bad_ideas/: Some "bad ideas" to do in Postgres extensions
- bytea/: Working with Postgres'
byteatype asVec<u8>and&[u8]in Rust - custom_types/: Create your own custom Postgres types backed by Rust structs/enums
- errors/: Error handling using Postgres or Rust errors/panics
- operators/: Creating operator functions and associated
CREATE OPERATORddl - spi/: Using Postgres' Server Programming Interface (SPI)
- srf/: Set-Returning-Functions
- strings/: Using Postgres
text/varlenatypes as RustStrings and&strs