diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,6 +1,14 @@
 # Changelog for postgresql-pure
 
+## 0.2.1.0
+
+2020.07.14
+
+- Add necessary files.
+
 ## 0.2.0.0
+
+2020.07.13
 
 ### Breaking changes
 
diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # postgresql-pure
 
-[![Hackage](https://matrix.hackage.haskell.org/api/v2/packages/postgresql-pure/badge)](http://hackage.haskell.org/package/postgresql-pure) [![Haddock](https://img.shields.io/badge/Haddock-0.2.0.0-blue)](https://iij-ii.github.io/postgresql-pure/) [![CI build](https://github.com/iij-ii/postgresql-pure/workflows/build/badge.svg)](https://github.com/iij-ii/postgresql-pure/actions?query=workflow%3Abuild) [![CI test](https://github.com/iij-ii/postgresql-pure/workflows/test/badge.svg)](https://github.com/iij-ii/postgresql-pure/actions?query=workflow%3Atest)
+[![Hackage](https://matrix.hackage.haskell.org/api/v2/packages/postgresql-pure/badge)](http://hackage.haskell.org/package/postgresql-pure) [![Haddock](https://img.shields.io/badge/Haddock-0.2.1.0-blue)](https://iij-ii.github.io/postgresql-pure/) [![CI build](https://github.com/iij-ii/postgresql-pure/workflows/build/badge.svg)](https://github.com/iij-ii/postgresql-pure/actions?query=workflow%3Abuild) [![CI test](https://github.com/iij-ii/postgresql-pure/workflows/test/badge.svg)](https://github.com/iij-ii/postgresql-pure/actions?query=workflow%3Atest)
 
 ## Copyright
 
diff --git a/postgresql-pure.cabal b/postgresql-pure.cabal
--- a/postgresql-pure.cabal
+++ b/postgresql-pure.cabal
@@ -4,10 +4,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: c401475640b1db36278cdd96378ae987840e458c06594e5eac434a2991e04cbf
+-- hash: e4d2fa99f191645581a127977d9ca699f4f42439e9ca768d527f4a8c37823ce8
 
 name:           postgresql-pure
-version:        0.2.0.0
+version:        0.2.1.0
 synopsis:       pure Haskell PostgreSQL driver
 description:    pure Haskell PostgreSQL driver
 category:       Database
@@ -26,6 +26,8 @@
     template/BuilderItem.hs
     template/Parser.hs
     template/ParserItem.hs
+    template/Length.hs
+    template/LengthItem.hs
 
 source-repository head
   type: git
diff --git a/template/Length.hs b/template/Length.hs
new file mode 100644
--- /dev/null
+++ b/template/Length.hs
@@ -0,0 +1,200 @@
+{-# LANGUAGE DataKinds            #-}
+{-# LANGUAGE DefaultSignatures    #-}
+{-# LANGUAGE FlexibleContexts     #-}
+{-# LANGUAGE FlexibleInstances    #-}
+{-# LANGUAGE ScopedTypeVariables  #-}
+{-# LANGUAGE TypeFamilies         #-}
+{-# LANGUAGE UndecidableInstances #-}
+
+module Database.PostgreSQL.Pure.Internal.Length
+  (Length) where
+
+import qualified Data.ByteString                        as BS
+import           Data.Functor.Identity                  (Identity)
+import           Data.Int                               (Int16, Int32, Int64)
+import           Data.Proxy                             (Proxy)
+import           Data.Scientific                        (Scientific)
+import           Data.Time                              (Day, DiffTime, LocalTime, TimeOfDay, UTCTime)
+import           Data.Tuple.OneTuple                    (OneTuple)
+import           Data.Tuple.Only                        (Only)
+import           Database.PostgreSQL.Pure.Internal.Data (Oid, Raw, SqlIdentifier, TimeOfDayWithTimeZone)
+import           GHC.TypeLits                           (Nat)
+
+-- | The number of columns.
+type family Length a :: Nat
+
+type instance Length Bool = 1
+
+type instance Length Int = 1
+
+type instance Length Int16 = 1
+
+type instance Length Int32 = 1
+
+type instance Length Int64 = 1
+
+type instance Length Scientific = 1
+
+type instance Length Float = 1
+
+type instance Length Double = 1
+
+type instance Length Oid = 1
+
+type instance Length Char = 1
+
+type instance Length String = 1
+
+type instance Length BS.ByteString = 1
+
+type instance Length Day = 1
+
+type instance Length TimeOfDay = 1
+
+type instance Length TimeOfDayWithTimeZone = 1
+
+type instance Length LocalTime = 1
+
+type instance Length UTCTime = 1
+
+type instance Length DiffTime = 1
+
+type instance Length SqlIdentifier = 1
+
+type instance Length Raw = 1
+
+type instance Length (Maybe a) = 1
+
+-- 0 tuple
+type instance Length () = 0
+
+type instance Length (Proxy a) = 0
+
+-- 1 tuple
+type instance Length (Identity a) = 1
+
+type instance Length (OneTuple a) = 1
+
+type instance Length (Only a) = 1
+
+---- embed 2
+
+---- embed 3
+
+---- embed 4
+
+---- embed 5
+
+---- embed 6
+
+---- embed 7
+
+---- embed 8
+
+---- embed 9
+
+---- embed 10
+
+---- embed 11
+
+---- embed 12
+
+---- embed 13
+
+---- embed 14
+
+---- embed 15
+
+---- embed 16
+
+---- embed 17
+
+---- embed 18
+
+---- embed 19
+
+---- embed 20
+
+---- embed 21
+
+---- embed 22
+
+---- embed 23
+
+---- embed 24
+
+---- embed 25
+
+---- embed 26
+
+---- embed 27
+
+---- embed 28
+
+---- embed 29
+
+---- embed 30
+
+---- embed 31
+
+---- embed 32
+
+---- embed 33
+
+---- embed 34
+
+---- embed 35
+
+---- embed 36
+
+---- embed 37
+
+---- embed 38
+
+---- embed 39
+
+---- embed 40
+
+---- embed 41
+
+---- embed 42
+
+---- embed 43
+
+---- embed 44
+
+---- embed 45
+
+---- embed 46
+
+---- embed 47
+
+---- embed 48
+
+---- embed 49
+
+---- embed 50
+
+---- embed 51
+
+---- embed 52
+
+---- embed 53
+
+---- embed 54
+
+---- embed 55
+
+---- embed 56
+
+---- embed 57
+
+---- embed 58
+
+---- embed 59
+
+---- embed 60
+
+---- embed 61
+
+---- embed 62
diff --git a/template/LengthItem.hs b/template/LengthItem.hs
new file mode 100644
--- /dev/null
+++ b/template/LengthItem.hs
@@ -0,0 +1,2 @@
+-- <length>-tuple
+type instance Length <tuple> = <length>
