postgresql-typed
Version 0.6.2.2 revision 0 uploaded by DylanSimon.
Package meta
- Synopsis
- PostgreSQL interface with compile-time SQL type checking, optional HDBC backend
- Description
Automatically type-check SQL statements at compile time. Uses Template Haskell and the raw PostgreSQL protocol to describe SQL statements at compile time and provide appropriate type marshalling for both parameters and results. Allows not only syntax verification of your SQL but also full type safety between your SQL and Haskell. Supports many built-in PostgreSQL types already, including arrays and ranges, and can be easily extended in user code to support any other types.
Also includes an optional HDBC backend that, since it uses the raw PostgreSQL protocol, may be more efficient than the normal libpq backend in some cases (though provides no more type safety than HDBC-postgresql when used without templates).
Originally based on Chris Forno's templatepg library.
- Author
- Dylan Simon
- Bug reports
- https://github.com/dylex/postgresql-typed/issues
- Category
- Database
- Copyright
- 2010-2013 Chris Forno, 2014-2019 Dylan Simon
- Homepage
- https://github.com/dylex/postgresql-typed
- Maintainer
- Dylan Simon <dylan-pgtyped@dylex.net>
- Package URL
- n/a
- Stability
- provisional