Company
Date Published
Author
Anastasia Lubennikova
Word count
710
Language
English
Hacker News points
None

Summary

Neon Storage now supports PostgreSQL 15, a significant improvement for developers who want to use multiple versions of the same C library simultaneously. To achieve this, Neon uses Rust and the bindgen crate to generate code from C headers, allowing it to handle different PostgreSQL versions without code duplication. The storage engine accepts Postgres write-ahead-log (WAL), digests it, and turns it into Postgres data pages, with version-specific modules generated using bindgen for each supported PostgreSQL version. Neon's architecture consists of compute nodes backed by the Neon storage engine, which is implemented in Rust and requires minimal patches to PostgreSQL code for support of multiple versions.