The latest version of tmp-postgres is 1.34.1.0-1.

tmp-postgres

Version 0.1.0.1 revision 0 uploaded by JonathanFischoff.

Package meta

Synopsis
Start and stop a temporary postgres for testing
Description

This module provides functions greating a temporary postgres instance on a random port for testing.


result <- 'start' []
case result of
  Left err -> print err
  Right tempDB -> do
    -- Do stuff
    'stop' tempDB

@

The are few different methods for starting postgres which provide different methods of dealing with stdout and stderr.

The start methods use a config based on the one used by pg_tmp, but can be overriden by in different values to the first argument of the start functions.

Author
Jonathan Fischoff
Bug reports
n/a
Category
Web
Copyright
2017 Jonathan Fischoff
Homepage
https://github.com/jfischoff/tmp-postgres#readme
Maintainer
jonathangfischoff@gmail.com
Package URL
n/a
Stability
n/a

Components