summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathanFischoff <>2019-12-02 22:12:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-12-02 22:12:00 (GMT)
commit37b5b80f047c033fab5614defc03fa2d57e8a564 (patch)
tree64b661663e52b9df71455a7d13c7e303cc0235bb
parent57bd58c0536f3ae999c9d49f4e4f5a7a756aedab (diff)
version 1.27.0.31.27.0.3
-rw-r--r--CHANGELOG.md3
-rw-r--r--src/Database/Postgres/Temp/Internal.hs10
-rw-r--r--tmp-postgres.cabal2
3 files changed, 9 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 05e5620..67e7e67 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,8 @@
Changelog for tmp-postgres
+1.27.0.3
+ #195, #196, #197, #198 Doc Fixes
+
1.27.0.2
Doc Fixes
diff --git a/src/Database/Postgres/Temp/Internal.hs b/src/Database/Postgres/Temp/Internal.hs
index 1f6e44f..da5db63 100644
--- a/src/Database/Postgres/Temp/Internal.hs
+++ b/src/Database/Postgres/Temp/Internal.hs
@@ -22,10 +22,9 @@ import System.Process
import Text.PrettyPrint.ANSI.Leijen hiding ((<$>))
-- | Handle for holding temporary resources, the @postgres@ process handle
--- and postgres connection information. The 'DB' also includes the
+-- and @postgres@ connection information. The 'DB' also includes the
-- final plan used to start @initdb@, @createdb@ and
--- @postgres@. See 'toConnectionString' or 'toConnectionOptions'
--- for converting a 'DB' to postgresql connection string.
+-- @postgres@.
--
-- @since 1.12.0.0
data DB = DB
@@ -347,7 +346,8 @@ stopPostgres = stopPlan . dbPostgresProcess
stopPostgresGracefully :: DB -> IO ExitCode
stopPostgresGracefully = stopPostgresProcess True . dbPostgresProcess
--- | Restart the @postgres@ from 'DB' using the prior 'Config'.
+-- | Restart the @postgres@ from 'DB' using the prior 'Config'. This
+-- will also start an instance previously stoppped with 'stopPostgres'.
--
-- @since 1.12.0.0
restart :: DB -> IO (Either StartError DB)
@@ -368,7 +368,7 @@ details. Calls 'stop' even in the face of exceptions.
@since 1.21.0.0
-}
withConfig :: Config
- -- ^ @extra@. 'Config' combined with the generated 'Config'. See
+ -- ^ The @extra@ 'Config' combined with the @generated@ 'Config'. See
-- 'startConfig' for more info.
-> (DB -> IO a)
-- ^ @action@ continuation.
diff --git a/tmp-postgres.cabal b/tmp-postgres.cabal
index 5b4d37f..5dba372 100644
--- a/tmp-postgres.cabal
+++ b/tmp-postgres.cabal
@@ -1,5 +1,5 @@
name: tmp-postgres
-version: 1.27.0.2
+version: 1.27.0.3
synopsis: Start and stop a temporary postgres
description: Start and stop a temporary postgres. See README.md
homepage: https://github.com/jfischoff/tmp-postgres#readme