PostgreSQL backend for the groundhog library.

Version on this page:
LTS Haskell 11.1:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots groundhog-postgresql appears in

BSD3 licensed and maintained by Boris Lykah

Module documentation for

This package uses postgresql-simple and postgresql-libpq.

* New typeclass to allow transaction rollback through ExceptT
* Remove upper bound for aeson
* Bump aeson to 1.2

* Support for GHC 8
* Support for HStore
* Bump blaze-builder dependency
* Support for monad-control 1.0

* Ignore system indexes when analyzing tables

* Entity and fields descriptions are parameterized so that they can be promoted
* Entity and fields descriptions are dependent on database proxy. It allows to use different types depending on a database, for example, the same type can be array[] in PostgreSQL and varchar elsewhere
* Migration support for indexes on expressions
* Array literals don't need explicit casting anymore

* DISTINCT ON select option
* Added getCurrentSchema function into SchemaAnalyzer

* Simplified Geometry and Array function type signatures
* Compatibility with GHC 7.8
* Create missing schemas (or databases in MySQL terminology) during migration
* Replace datatype Proxy with type variable

* Postgresql-specific mathematical functions (signum, quotRem)
* Geometric operators

* Added functions replaceBy and deleteAll
* Added type casting functions explicitType and castType
* Updated postgresql-simple dependency
* Autogenerated id is 64 bit by default
* Added createPostgresqlPool
* Exposed connection constructor

* Query logging
* Default column values
* Fixed postgresql-simple deprecation warnings
* Updated postgresql-simple dependency

* Switched from pool-conduit to resource-pool
* Schema qualified tables
* Support for savepoints
* Support for arrays

* Database indexes
* Support DB-specific column types
* Removed overly restrictive upper bound for bytestring package
* Removed overly restrictive upper bound for containers package

The first release.
comments powered byDisqus