The postgresql-typed package


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. Originally based on Chris Forno's templatepg library.


Versions0.3.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.4.2,,, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1
Dependenciesarray, base (>=4.7 && <5), binary, bytestring (>=0.10.2), containers, cryptohash (>=0.5), haskell-src-meta, network, old-locale, parsec, postgresql-binary (>=0.5.0), scientific (>=0.3), template-haskell, text (>=1), time, utf8-string, uuid (>=1.3) [details]
Copyright2010-2013 Chris Forno, 2014-2015 Dylan Simon
AuthorDylan Simon
Home page
Bug tracker
Source repositoryhead: git clone git://
UploadedMon Jan 5 02:47:16 UTC 2015 by DylanSimon




md5Enable md5 password authentication method.EnabledAutomatic
binaryUse binary protocol encoding via postgresql-binary. This may put additional restrictions on supported PostgreSQL server versions.EnabledAutomatic
textSupport Text string values via text (implied by binary).EnabledAutomatic
uuidSupport the UUID type via uuid (implied by binary).EnabledAutomatic
scientificSupport decoding numeric via scientific (implied by binary).EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainers' corner

For package maintainers and hackage trustees