Orville is a simple PostgreSQL client library for Haskell. See the tutorials, in order of increasing complexity: Getting Started Using SqlMarshaller Using Plans Using Migrations Using JSON Additional documentation is available in the Haddocks.