postgresql-simple

Mid-Level PostgreSQL client library

Version on this page:0.5.3.0
LTS Haskell 22.18:0.7.0.0@rev:1
Stackage Nightly 2024-04-24:0.7.0.0@rev:1
Latest on Hackage:0.7.0.0@rev:1

See all snapshots postgresql-simple appears in

BSD-3-Clause licensed by Bryan O'Sullivan, Leon P Smith
Maintained by Leon P Smith
This version can be pinned in stack with:postgresql-simple-0.5.3.0@sha256:dc33097eed417e240788c5c6754200765df9e89f249a23c8e4b2adb7c731fa57,3674

Module documentation for 0.5.3.0

  • Database
    • Database.PostgreSQL
      • Database.PostgreSQL.Simple
        • Database.PostgreSQL.Simple.Arrays
        • Database.PostgreSQL.Simple.Copy
        • Database.PostgreSQL.Simple.Cursor
        • Database.PostgreSQL.Simple.Errors
        • Database.PostgreSQL.Simple.FromField
        • Database.PostgreSQL.Simple.FromRow
        • Database.PostgreSQL.Simple.HStore
          • Database.PostgreSQL.Simple.HStore.Internal
        • Database.PostgreSQL.Simple.Internal
        • Database.PostgreSQL.Simple.LargeObjects
        • Database.PostgreSQL.Simple.Notification
        • Database.PostgreSQL.Simple.Ok
        • Database.PostgreSQL.Simple.Range
        • Database.PostgreSQL.Simple.SqlQQ
        • Database.PostgreSQL.Simple.Time
          • Database.PostgreSQL.Simple.Time.Internal
        • Database.PostgreSQL.Simple.ToField
        • Database.PostgreSQL.Simple.ToRow
        • Database.PostgreSQL.Simple.Transaction
        • Database.PostgreSQL.Simple.TypeInfo
          • Database.PostgreSQL.Simple.TypeInfo.Macro
          • Database.PostgreSQL.Simple.TypeInfo.Static
        • Database.PostgreSQL.Simple.Types

Mid-Level PostgreSQL client library, forked from mysql-simple.

Changes

For the full changelog, see https://github.com/lpsmith/postgresql-simple/blob/master/CHANGES.md

Version 0.5.3.0 (2017-05-15)

  • Refactored some rudimentary cursor handling code out of the implementation of the fold operators, into a new Database.PostgreSQL.Simple.Cursor module, thanks to Bardur Arantsson.

  • Made the FromField instance for Char compatible with postgresql’s bpchar type. Thanks to Ivan Lazar Miljenovic for reporting the issue.

  • Added Show and Eq instances for Notification, thanks to Matvey Aksenov.

  • Fixed some example code, thanks to Matvey Aksenov.

  • Fixed a problem with using conversionError to throw exceptions of type SomeException. Previously, the exception would be wrapped in a second SomeException dynamic constructor which would cause normal GHC typecase idioms over SomeException to fail.