Skip to content

pgdogdev/pg_raw_parse

Repository files navigation

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:

About

The SQL parser powering pgdog.dev

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors