-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | 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). @package postgresql-syntax @version 0.1 module PostgreSQL.Syntax -- | Find an error in the SQL string. -- -- The string is allowed to contain placeholders. validate :: ByteString -> Maybe Text