Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.33 KB

File metadata and controls

29 lines (22 loc) · 1.33 KB

PG Raw Parse

Safe bindings to libpg_query

PG Raw Parse provides a low level wrapper around the PostgreSQL backend parser. These bindings, as well as some additional functionality are provided by libpg_query.

In addition to parsing, we provide mechanisms to traverse an AST, construct new ASTs, and transform ASTs. See the API docs for more details.

This library's API surface is primarily driven by the needs of PgDog. It is not intended to be a complete, one-size-fits-all solution to PostgreSQL ASTs. Contributions are welcome, but pull requests adding large and complex features are unlikely to be accepted unless they align with PgDog's needs. For a more general purpose library, consider pg_query.rs.

License

Licensed under either of these: