1 repositorio
Safe Rust bindings to PostgreSQL's Server Programming Interface for executing queries and managing data within extension code.
Distinct from Application Programming Interfaces: Distinct from Application Programming Interfaces: focuses specifically on PostgreSQL's internal SPI for extensions, not general inter-program communication.
Explore 1 awesome GitHub repository matching software engineering & architecture · Server Programming Interfaces. Refine with filters or upvote what's useful.
pgrx is a framework for building and packaging custom PostgreSQL extensions using Rust. It serves as a foreign function interface bridge that maps Rust types and functions to the internal server programming interface of the database. The project provides a specialized toolchain for cross-compilation across different operating systems and target architectures using custom sysroots. It includes a schema generator that automatically translates high-level language structures into SQL definitions and binary protocol mappings. The framework manages memory safety by wrapping database memory context
Provides safe Rust bindings to PostgreSQL's Server Programming Interface for executing queries within extensions.