tmp-postgres 1.27.0.2 → 1.27.0.3
raw patch · 3 files changed
+9/−6 lines, 3 files
Files
- CHANGELOG.md +3/−0
- src/Database/Postgres/Temp/Internal.hs +5/−5
- tmp-postgres.cabal +1/−1
CHANGELOG.md view
@@ -1,5 +1,8 @@ Changelog for tmp-postgres +1.27.0.3+ #195, #196, #197, #198 Doc Fixes+ 1.27.0.2 Doc Fixes
src/Database/Postgres/Temp/Internal.hs view
@@ -22,10 +22,9 @@ 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 @@ 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 @@ @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.
tmp-postgres.cabal view
@@ -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