Browse Source

* ah… stupid PG connection string

Saurabh Nanda 9 years ago
parent
commit
f042823247
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/Haskell/yesod-postgres/bench/src/Main.hs

+ 1 - 1
frameworks/Haskell/yesod-postgres/bench/src/Main.hs

@@ -304,7 +304,7 @@ getPlaintextR = return "Hello, World!"
 main :: IO ()
 main = R.withSystemRandom $ \gen -> do
     [cores, host] <- getArgs
-    let connString = ("host=" ++ host ++ "port=5432 user=benchmarkdbuser password=benchmarkdbpass dbname=hello_world") 
+    let connString = ("host=" ++ host ++ " port=5432 user=benchmarkdbuser password=benchmarkdbpass dbname=hello_world") 
     dbPool <- runNoLoggingT $ Pg.createPostgresqlPool (C8.pack connString) 256
     app <- toWaiAppPlain App
         { appGen = gen