packages feed

tmp-postgres 0.1.0.6 → 0.1.0.7

raw patch · 3 files changed

+5/−5 lines, 3 files

Files

README.md view
@@ -17,7 +17,7 @@ ## macOS ``` $ brew install postgres-$ cabal install tmp-postgres+$ stack install tmp-postgres ```  ## Ubuntu@@ -27,5 +27,5 @@ ``` $ sudo apt-get install postgresql-VERSION $ echo "export PATH=$PATH:/usr/lib/postgresql/VERSION/bin/" >> /home/ubuntu/.bashrc-$ cabal install tmp-postgres+$ stack install tmp-postgres ```
src/Database/Postgres/Temp/Internal.hs view
@@ -133,8 +133,8 @@   let dataDir = mainDir ++ "/data"    logger InitDB-  initDBExitCode <- runProcessWith stdOut stdErr "initDB"-      ("initDB --nosync -E UNICODE -A trust -D " ++ dataDir)+  initDBExitCode <- runProcessWith stdOut stdErr "initdb"+      ("initdb --nosync -E UNICODE -A trust -D " ++ dataDir)   throwIfError InitDBFailed initDBExitCode    logger WriteConfig
tmp-postgres.cabal view
@@ -1,5 +1,5 @@ name:                tmp-postgres-version:             0.1.0.6+version:             0.1.0.7 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.