Skip to content

Commit

Permalink
Merge pull request yesodweb#312 from meteogrid/master
Browse files Browse the repository at this point in the history
Add support for Postgis 'geometry' type as a PersistDbSpecific value
  • Loading branch information
snoyberg committed Oct 13, 2014
2 parents d7779b0 + e1aa508 commit 5f61171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions persistent-postgresql/Database/Persist/Postgresql.hs
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,8 @@ builtinGetters = I.fromList
, (2951, listOf (PersistDbSpecific . unUnknown))
, (199, listOf (PersistByteString . unUnknown))
-- no array(unknown) either
-- postgis geometry
, (16392, convertPV (PersistDbSpecific . unUnknown))
]
where
k (PGFF.typoid -> i) = PG.oid2int i
Expand Down

0 comments on commit 5f61171

Please sign in to comment.