<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o" -->

---
title: Adding PostgreSQL 15 support to Neon Storage using Rust
description: Neon added PostgreSQL 15 support to its storage engine, which is implemented in Rust. The post explains how they use the bindgen crate to generate Rust...
canonical: https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Adding PostgreSQL 15 support to Neon Storage using Rust | daily.dev
og:description: Neon added PostgreSQL 15 support to its storage engine, which is implemented in Rust. The post explains how they use the bindgen crate to generate Rust...
og:url: https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o
og:image: https://api.daily.dev/og/posts/6MnfoKb8o.png
og:image:alt: Adding PostgreSQL 15 support to Neon Storage using Rust
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding PostgreSQL 15 support to Neon Storage using Rust

**[Neon](https://daily.dev/sources/neontech)** · 4 min read · 0 upvotes · 0 comments

## Summary

Neon added PostgreSQL 15 support to its storage engine, which is implemented in Rust. The post explains how they use the bindgen crate to generate Rust bindings from PostgreSQL C headers, and how they extended this approach to support multiple PostgreSQL versions simultaneously. By generating separate binding files (bindings_v14.rs and bindings_v15.rs) and wrapping version-specific code in functions that accept a version parameter, they avoid code duplication while handling differences in on-disk formats like WAL page structures between versions.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://neon.com/blog/how-we-added-support-for-postgresql-v15-in-neon>

## Similar posts on daily.dev

- [Replacing Protobuf with Rust to go 5 times faster](https://daily.dev/posts/replacing-protobuf-with-rust-to-go-5-times-faster-mya0hcqzb) · Hacker News · 74 upvotes · 1 comments
- [Building scalable backend services with Rust and PostgreSQL](https://daily.dev/posts/building-scalable-backend-services-with-rust-and-postgresql-tlwj69w1v) · Sylvain Kerkour · 6 upvotes · 3 comments
- [Rust extensions started landing PostgreSQL RPM repository](https://daily.dev/posts/rust-extensions-started-landing-postgresql-rpm-repository-fbrlo5k7d) · Planet PostgreSQL · 5 upvotes · 0 comments
- [GitHub - pgcentralfoundation/pgrx: Build Postgres Extensions with Rust\!](https://daily.dev/posts/github---pgcentralfoundation-pgrx-build-postgres-extensions-with-rust--gzoihklhh) · Hacker News · 0 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#postgresql](https://daily.dev/tags/postgresql)

[View this post on daily.dev](https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Adding PostgreSQL 15 support to Neon Storage using Rust","url":"https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o"},"datePublished":"2026-07-09T06:58:04.824Z","dateModified":"2026-07-09T07:06:03.550Z","description":"Neon added PostgreSQL 15 support to its storage engine, which is implemented in Rust. The post explains how they use the bindgen crate to generate Rust...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/01cd34ef96d0940b7222a159f33bc63a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/01cd34ef96d0940b7222a159f33bc63a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Neon","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Neon","logo":"https://media.daily.dev/image/upload/s--65EDghou--/f_auto/v1724339118/logos/neontech","url":"https://daily.dev/sources/neontech"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/adding-postgresql-15-support-to-neon-storage-using-rust-6mnfokb8o","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"rust,postgresql","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Neon","item":"https://daily.dev/sources/neontech"},{"@type":"ListItem","position":3,"name":"Adding PostgreSQL 15 support to Neon Storage using Rust"}]}
```

