packages feed

tmp-proc-postgres 0.5.1.1 → 0.5.2.0

raw patch · 3 files changed

+10/−6 lines, 3 files

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for tmp-proc-postgres +## 0.5.2.0 -- 2022-08-10++* Update the connection URI+ ## 0.5.1.0 -- 2022-08-08  * Bump version of text and base
src/System/TmpProc/Docker/Postgres.hs view
@@ -85,11 +85,11 @@  {-| Makes a uri whose password matches the one specified in 'runArgs''. -} mkUri' :: HostIpAddress -> SvcURI-mkUri' ip = "host="-             <> C8.pack (Text.unpack ip)-             <> " dbname=postgres user=postgres password="-             <> dbPassword-             <> " port=5432"+mkUri' ip = "postgres://postgres:"+          <> dbPassword+          <> "@"+          <> (C8.pack (Text.unpack ip))+          <> "/postgres"   dbPassword :: C8.ByteString
tmp-proc-postgres.cabal view
@@ -1,6 +1,6 @@ cabal-version:      3.0 name:               tmp-proc-postgres-version:            0.5.1.1+version:            0.5.2.0 synopsis:           Shows how to run a PostgreSQL database as a tmp proc description:   An example of using tmp-proc to launch dockerized PostgreSQL in integration tests.