# Adding PostgreSQL 15 support to Neon Storage using Rust

DevFeed: [Adding PostgreSQL 15 support to Neon Storage using Rust](<https://devfeed.tech/articles/adding-postgresql-15-support-to-neon-storage-using-rust-5409.md>)

Original publisher: [Read original article](<https://neon.com/blog/how-we-added-support-for-postgresql-v15-in-neon>)

Author: Anastasia Lubennikova

Published: 2022-11-09T16:11:47Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Rust](<https://devfeed.tech/topics/rust.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [examples](<https://devfeed.tech/tags/examples.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [rust](<https://devfeed.tech/tags/rust.md>)

## AI overview

This article explains how Neon Storage added support for PostgreSQL 15 alongside PostgreSQL 14. It describes using Rust and bindgen to generate bindings from PostgreSQL C headers, while maintaining separate generated code for version-specific WAL formats.

## Source excerpt

A few weeks ago, we added support for PostgreSQL 15. You can choose the version of PostgreSQL you want to use (PostgreSQL v14 or v15) when you create a Neon project. This post describes how we add support for multiple PostgreSQL versions in our Rust code, which might be helpful f...