diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,7 @@
+## 1.3.9.2
+
+* Lower case PostgreSQL names [#88](https://github.com/snoyberg/keter/pull/88)
+
 ## 1.3.9.1
 
 * Allow blaze-builder 0.4
diff --git a/Keter/Plugin/Postgres.hs b/Keter/Plugin/Postgres.hs
--- a/Keter/Plugin/Postgres.hs
+++ b/Keter/Plugin/Postgres.hs
@@ -13,14 +13,14 @@
 import           Control.Concurrent.Chan
 import           Control.Concurrent.MVar
 import           Control.Exception         (throwIO, try)
-import           Control.Monad             (void)
-import           Control.Monad             (forever, mzero, replicateM)
+import           Control.Monad             (forever, mzero, replicateM, void)
 import           Control.Monad.Trans.Class (lift)
 import qualified Control.Monad.Trans.State as S
 import           Data.Default
 import qualified Data.HashMap.Strict       as HMap
 import qualified Data.Map                  as Map
 import           Data.Monoid               ((<>))
+import qualified Data.Char                 as C
 import qualified Data.Text                 as T
 import qualified Data.Text.Lazy            as TL
 import           Data.Text.Lazy.Builder    (fromText, toLazyText)
@@ -101,7 +101,7 @@
         -- FIXME stop using the worker thread approach?
         void $ forkIO $ flip S.evalStateT (db0, g0) $ forever $ loop chan
         return Plugin
-            { pluginGetEnv = \appname o -> do
+            { pluginGetEnv = \appname o ->
                 case HMap.lookup "postgres" o of
                     Just (Bool True) -> do
                         x <- newEmptyMVar
@@ -142,7 +142,7 @@
 
     sanitize = T.map sanitize'
     sanitize' c
-        | 'A' <= c && c <= 'Z' = c
+        | 'A' <= c && c <= 'Z' = C.toLower c
         | 'a' <= c && c <= 'z' = c
         | '0' <= c && c <= '9' = c
         | otherwise = '_'
diff --git a/keter.cabal b/keter.cabal
--- a/keter.cabal
+++ b/keter.cabal
@@ -1,5 +1,5 @@
 Name:                keter
-Version:             1.3.9.1
+Version:             1.3.9.2
 Synopsis:            Web application deployment manager, focusing on Haskell web frameworks
 Description:         Hackage documentation generation is not reliable. For up to date documentation, please see: <http://www.stackage.org/package/keter>.
 Homepage:            http://www.yesodweb.com/
@@ -39,7 +39,6 @@
                      , system-fileio             >= 0.3           && < 0.4
                      , conduit                   >= 1.1
                      , conduit-extra             >= 1.1
-                     , network-conduit-tls       >= 1.1
                      , http-reverse-proxy        >= 0.4           && < 0.5
                      , unix                      >= 2.5
                      , wai-app-static            >= 3.0           && < 3.1
