PgDog ditched Protobuf for raw C-to-Rust integration in pg_query.rs. The new setup uses bindgen and recursive FFI wrappers - no serialization, no handoffs.
The payoff? Query parsing is 5× faster. Deparsing hit 10×. Even pgbench saw a 25% bump across major ops.










