Skip navigation

Can We Use Rust to Develop Extensions for PostgreSQL?

Shinya Kato

Shinya Kato Shinya Kato

Livestream 2

One of PostgreSQL's greatest strengths is its extensibility. Traditionally, extensions have been written in C, but in recent years, Rust has emerged as a powerful alternative for extension development. So, why should we consider Rust over the traditional C approach?

In this talk, we'll explore pgrx, a cutting-edge framework that simplifies PostgreSQL extension development in Rust. With features like safe Rust bindings for PostgreSQL's C API, a fully managed development environment, and automatic schema generation, pgrx makes it easier than ever to build robust and reliable extensions.

Drawing from my own experience implementing PostgreSQL extensions in Rust, I will share practical insights on getting started and discuss the pros and cons of using Rust. No prior knowledge of Rust is required—this talk is designed for anyone curious about modernizing PostgreSQL extension development.

talk bubbles
Join the conversation

Use the hashtag #PosetteConf