Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
No. 2257Tools index
Type
TOOL
GitHub
10 stars
Date

About

pg_raw_parse is a Rust library that wraps the native Postgres SQL parser to parse and manipulate SQL as Rust structs, forking libpg_query and its original Rust bindings. By mapping directly onto the Postgres arena allocator instead of using Protobuf, it delivers a 20-60x speedup in parsing and deparsing and a 90% reduction in memory use compared to pg_query.rs, and it powers query AST manipulation in production inside PgDog.

Tags

rustpostgresqlsql-parserlibpg-queryperformance

Tech Stack

Rust

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.