diff --git a/hasql-cursor-query.cabal b/hasql-cursor-query.cabal
--- a/hasql-cursor-query.cabal
+++ b/hasql-cursor-query.cabal
@@ -1,7 +1,7 @@
 name:
   hasql-cursor-query
 version:
-  0.4.4.2
+  0.4.4.3
 category:
   Hasql, Database, PostgreSQL, Streaming
 synopsis:
@@ -55,7 +55,7 @@
     Hasql.CursorQuery
   build-depends:
     -- database:
-    hasql >= 1.3 && < 1.4,
+    hasql >= 1.4 && < 1.5,
     hasql-transaction >= 0.7 && < 0.8,
     hasql-cursor-transaction >= 0.6 && < 0.7,
     -- data:
@@ -85,15 +85,12 @@
   default-language:
     Haskell2010
   build-depends:
-    -- database:
+    foldl >= 1.2 && < 2,
     hasql,
     hasql-cursor-query,
-    -- testing:
-    tasty >=1.0.1 && <1.2,
-    tasty-quickcheck >=0.10 && <0.11,
-    tasty-hunit >=0.10 && <0.11,
-    quickcheck-instances >=0.3.11 && <0.4,
     QuickCheck >=2.8.1 && <3,
-    -- 
-    foldl >= 1.2 && < 2,
-    rebase < 2
+    quickcheck-instances >=0.3.11 && <0.4,
+    rebase < 2,
+    tasty >=0.12 && <2,
+    tasty-hunit >=0.9 && <0.11,
+    tasty-quickcheck >=0.9 && <0.11
diff --git a/tasty/Main/CursorQueries.hs b/tasty/Main/CursorQueries.hs
--- a/tasty/Main/CursorQueries.hs
+++ b/tasty/Main/CursorQueries.hs
@@ -14,12 +14,12 @@
     sql =
       "select oid, typname from pg_type"
     encoder =
-      A.unit
+      A.noParams
     decoder =
       reducingDecoder rowDecoder fold
       where
         rowDecoder =
-          (,) <$> B.column B.int8 <*> B.column B.text
+          (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text
         fold =
           C.length
 
@@ -30,12 +30,12 @@
     sql =
       "select oid, typname from pg_type"
     encoder =
-      A.unit
+      A.noParams
     decoder =
       reducingDecoder rowDecoder fold
       where
         rowDecoder =
-          (,) <$> B.column B.int8 <*> B.column B.text
+          (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text
         fold =
           C.list
 
diff --git a/tasty/Main/Statements.hs b/tasty/Main/Statements.hs
--- a/tasty/Main/Statements.hs
+++ b/tasty/Main/Statements.hs
@@ -13,9 +13,9 @@
     sql =
       "select count(*) from pg_type"
     encoder =
-      A.unit
+      A.noParams
     decoder =
-      B.singleRow (B.column (fmap fromIntegral B.int8))
+      (B.singleRow . B.column . B.nonNullable . fmap fromIntegral) B.int8
       
 slectOIDAndTypeName :: Statement () [(Int64, Text)]
 slectOIDAndTypeName =
@@ -24,9 +24,9 @@
     sql =
       "select oid, typname from pg_type"
     encoder =
-      A.unit
+      A.noParams
     decoder =
       B.rowList rowDecoder
       where
         rowDecoder =
-          (,) <$> B.column B.int8 <*> B.column B.text
+          (,) <$> (B.column . B.nonNullable) B.int8 <*> (B.column . B.nonNullable) B.text
