Teaching an old dog new tricks: extending Postgres capabilities with Rust

PostgreSQL represents a cornerstone of many modern apps, and yet has the potential to play a much larger role. Its extensibility has always been a core strength and today extensions can be authored in Rust, making it both easier and safer. Let's explore all of this and build our own extension!

Place
RustLab
Length
60 min
When
November 21st, 2023
15:30

Abstract

PostgreSQL represents a cornerstone of many modern apps, and yet has the potential to play a much larger role than that of a simple database. Its extensibility has always been a core strength, and today the pgrx crate allows extensions to author extensions in Rust, making it easier, safer and fun, unlocking much unrealized potential.

In this experience-based, practical session, we will:
- explore Postgres extensibility features and the value they provide;
- introduce the pgrx crate, a comprehensive open source framework to author Postgres extensions in Rust;
- we'll build, test, and deploy a real extension, live on stage.

Finally, we will present a case history where we used a custom Rust PostgreSQL extension to drastically simplify a legacy software codebase, while providing more flexibility and improving query performance to billions of rows per second.

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #RustLab2023 to share your experience and connect with other attendees on social media.

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2023 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS