Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added back float4 for legacy DBs

  • Loading branch information...
commit 073f8656e5238aa41ad0e7e31f385b9a3198539a 1 parent 139bb44
Michael Snoyman snoyberg authored
1  backends/postgresql/Database/Persist/Postgresql.hs
@@ -264,6 +264,7 @@ getColumn getter tname
264 264 getType "date" = Right $ SqlDay
265 265 getType "bool" = Right $ SqlBool
266 266 getType "timestamp" = Right $ SqlDayTime
  267 + getType "float4" = Right $ SqlReal
267 268 getType "float8" = Right $ SqlReal
268 269 getType "bytea" = Right $ SqlBlob
269 270 getType a = Left $ "Unknown type: " ++ a
2  backends/postgresql/persistent-postgresql.cabal
... ... @@ -1,5 +1,5 @@
1 1 name: persistent-postgresql
2   -version: 0.2.1
  2 +version: 0.2.1.1
3 3 license: BSD3
4 4 license-file: LICENSE
5 5 author: Michael Snoyman <michael@snoyman.com>

0 comments on commit 073f865

Please sign in to comment.
Something went wrong with that request. Please try again.