diff --git a/selda-postgresql.cabal b/selda-postgresql.cabal
--- a/selda-postgresql.cabal
+++ b/selda-postgresql.cabal
@@ -1,5 +1,5 @@
 name:                selda-postgresql
-version:             0.1.3.0
+version:             0.1.4.0
 synopsis:            PostgreSQL backend for the Selda database EDSL.
 description:         PostgreSQL backend for the Selda database EDSL.
                      Requires the PostgreSQL @libpq@ development libraries to be
@@ -30,7 +30,7 @@
   build-depends:
       base             >=4.8     && <5
     , exceptions       >=0.8     && <0.9
-    , selda            >=0.1.5.0 && <0.2
+    , selda            >=0.1.7.0 && <0.2
     , text             >=1.0     && <1.3
   if !flag(haste)
     build-depends:
diff --git a/src/Database/Selda/PostgreSQL/Encoding.hs b/src/Database/Selda/PostgreSQL/Encoding.hs
--- a/src/Database/Selda/PostgreSQL/Encoding.hs
+++ b/src/Database/Selda/PostgreSQL/Encoding.hs
@@ -34,6 +34,7 @@
 fromSqlValue (LDate s)     = Just (dateType, encodeUtf8 s, Text)
 fromSqlValue (LNull)       = Nothing
 fromSqlValue (LJust x)     = fromSqlValue x
+fromSqlValue (LCustom l)   = fromSqlValue l
 
 -- | Convert the given postgres return value and type to an @SqlValue@.
 toSqlValue :: Oid -> BS.ByteString -> SqlValue
