@hackage postgresql-syntax0.1

PostgreSQL SQL syntax utilities

Currently this library only provides an SQL syntax validator.

This library wraps the "libpq_query" C library, which is an SQL parser based on the source code of the Postgres server. IOW, it uses the same parser as Postgres itself and hence supports all of its syntax.

So far this package has only been tested to work on the *nix systems (Mac OS including).