Name : ghc-tmp-postgres
| |
Version : 0.1.1.1
| Vendor : obs://build_opensuse_org/devel:languages:haskell
|
Release : 3.7
| Date : 2017-11-13 13:00:00
|
Group : Development/Libraries/Haskell
| Source RPM : ghc-tmp-postgres-0.1.1.1-3.7.src.rpm
|
Size : 0.17 MB
| |
Packager : (none)
| |
Summary : Start and stop a temporary postgres for testing
|
Description :
This module provides functions creating 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 (http://ephemeralpg.org/), but can be overriden by different values to the first argument of the start functions.
WARNING!! Ubuntu\'s PostgreSQL installation does not put \'initdb\' on the \'PATH\'. We need to add it manually. The necessary binaries are in the \'/usr/lib/postgresql/VERSION/bin/\' directory, and should be added to the \'PATH\'
> echo \"export PATH=$PATH:/usr/lib/postgresql/VERSION/bin/\" >> /home/ubuntu/.bashrc .
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/haskell:/lts:/9/openSUSE_Tumbleweed/x86_64 |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
ghc-tmp-postgres
ghc-tmp-postgres(x86-64)
libHStmp-postgres-0.1.1.1-EaJgmUbLZTW5NproZ27O4D-ghc8.0.2.so()(64bit)
Requires :