BSD-3-Clause licensed by Grant Monroe, Leon P Smith, Joey Adams
Maintained by Oleg Grenrus
This version can be pinned in stack with:postgresql-libpq-0.10.2.0@sha256:7a31a758c0e9e4e608f0408c28dfb321d6a94811572892b826f66c7a387d1156,2665

Module documentation for 0.10.2.0

This is a binding to libpq: the C application programmer's interface to PostgreSQL. libpq is a set of library functions that allow client programs to pass queries to the PostgreSQL backend server and to receive the results of these queries.

Changes

0.10.2.0

  • Split the c library dependency into separate packages. Now the dependencies are either all build-type: Simple (-f +use-pkg-config) or build-type: Configure (-f -use-pkg-config).

0.10.1.0

0.10.0.0

There are technicallly two breaking changes in this release, but they shouldn’t affect anyone not doing anything weird.

  • Binary parameters are passed without copying.
  • FFI functions are imported without unsafe. Most uses were incorrect. We make all calls “safe”, as checking whether libpq functions do IO or may call a notifier (potentially calling back into Haskell), is virtually impossible for all versions of libpq. (The above properties are not specified in the documentation).

0.9.5.0

0.9.4.3

  • Support bytestring-0.11
  • Allow Win32-2.10.0.0
  • Make PQconsumeInput FFI call safe

0.9.4.2

  • Support GHC-8.6.1
  • Add simple smoke test