pgx 0.1.17

pgx: A Rust framework for creating Postgres extensions
Documentation

pgx is a framework for creating Postgres extensions in 100% Rust

Example

use pgx::*;

pg_module_magic!();

// Convert the input string to lowercase and return
#[pg_extern]
fn my_to_lowercase(input: &'static str) -> String {
input.to_lowercase()
}