Low-level Haskell bindings for libpq