persistent-postgresql

Backend for the persistent library using postgresql.

http://www.yesodweb.com/book/persistent

Version on this page:2.2
LTS Haskell 22.17:2.13.6.1
Stackage Nightly 2024-04-18:2.13.6.1
Latest on Hackage:2.13.6.1

See all snapshots persistent-postgresql appears in

MIT licensed by Felipe Lessa, Michael Snoyman
Maintained by Michael Snoyman
This version can be pinned in stack with:persistent-postgresql-2.2@sha256:5a11cc10a6d933983f30456667d5a5ce96ef3d2702243c16a24300362bf9516f,1590

Module documentation for 2.2

Based on the postgresql-simple package

Changes

2.2

  • Optimize the insertMany function to insert all rows and retrieve their keys in one SQL query. #407

2.1.6

  • Postgresql exceptions #353

2.1.5.3

Migrations for custom primary keys

2.1.5.2

Support foreign key references to composite primary keys #389

2.1.5

  • Allow timestamp value in database to be serialized (presumes UTC timezone) Yesod #391

2.1.4

  • Treat unknown extension types as PersistDbSpecific values #385

2.1.3

2.1.2.1

Documentation typo fix

2.1.1

Added FromJSON instance for PostgresConf.