pg_query
v6.1.1 GrowingPostgreSQL parser that uses the actual PostgreSQL server source to parse SQL queries and return the internal PostgreSQL parse tree.
Quick Verdict
- โStable API (6.x for 4+ years)
- โTrusted by 132 crates
- โPermissive license (MIT)
Security
Deep Insights
126.1K downloads in the last 30 days (4.2K/day), up 117% from the previous period.
132 crates depend on pg_query. Reasonable ecosystem adoption, though not yet a core dependency.
The API has been stable (1.x) for over 4 years with 17 releases. This level of maturity means you can depend on it without worrying about breaking changes.
2.0MB is relatively large. May impact download and compile times.
Notable dependents include eugene, prew, reshape, squawk-parser, postgres-syntax. When high-quality crates choose pg_query, it's a strong quality signal.
Health Breakdown
Recency, release consistency, active ratio
Yanked ratio, deps, size, maturity, features
Reverse deps, ownership, ecosystem
Downloads, momentum, growth trend
Docs, repo, license, metadata
Download Trend
Top Dependents
Most downloaded crates that depend on pg_query