The templatepg package

[ Tags: database, library, mit ] [ Propose Tags ]

TemplatePG provides PostgreSQL access from Haskell via the PostgreSQL protocol. It also provides a higher-level Template Haskell interface. It eliminates a class of runtime errors by checking queries against a PostgreSQL database at compile-time. This also reduces boilerplate code for dealing with query results, as the type and number of result columns are known at compile-time.


Versions 0.1.0, 0.2.2, 0.2.3, 0.2.5, 0.2.6, 0.2.7, 0.2.8
Dependencies base (==4.8.*), binary, bytestring, haskell-src-meta, mtl, network, parsec, regex-compat, regex-posix, template-haskell, time, utf8-string [details]
License MIT
Copyright 2010, 2011, 2012, 2013, 2015 Chris Forno
Author Chris Forno (jekor)
Category Database
Home page
Bug tracker
Source repo head: git clone git://
Uploaded Mon Dec 21 14:06:54 UTC 2015 by ChrisForno
Distributions NixOS:0.2.8
Downloads 2073 total (42 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-29 [all 2 reports]
Hackage Matrix CI


  • Database
    • Database.TemplatePG
      • Database.TemplatePG.Protocol
      • Database.TemplatePG.SQL
      • Database.TemplatePG.Types


Maintainer's Corner

For package maintainers and hackage trustees