git.iko.soy/typeable/postgresql-simple
on master help sign in
Update documentation
commitc79082389a180ebd3818e2a7c5c7625e9ae4e9e7 authorLeon P Smith <leon@melding-monads.com> dateWed 15 Jul 2015, 11:33 (11 years ago) parent1f9f540
1 file changed+2−2
src/Database/PostgreSQL/Simple/FromField.hs+2−2
src/Database/PostgreSQL/Simple/FromField.hs+2−2
@@ -30,8 +30,8 @@ type, and then converting to a floating-point type. If you are defining
3030your own 'Database.PostgreSQL.Simple.FromRow.FromRow' instances, this can be
3131acheived simply by
3232@'fromRational' '<$>' 'Database.PostgreSQL.Simple.FromRow.field'@, although
33−this idiom is additionally compatible with PostgreSQL's @numeric@ type.
34−If this is unacceptable, you may find
33+this idiom is additionally compatible with PostgreSQL's @int8@ and @numeric@
34+types. If this is unacceptable, you may find
3535'Database.PostgreSQL.Simple.FromRow.fieldWith' useful.
3636
3737Also note that while converting to a 'Double' through the 'Scientific' type