-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
Description
Most pg* functions are named after the haskell type e.g. pgTimeOfDay, but there's pgInt4 and pgInt8 which have postgres names, and "The type names int2, int4, and int8 are extensions, which are also used by some other SQL database systems."
Haskell's Int isn't guaranteed to fit in an int4, only on 32bit systems? For me Int and Int64 are the same.
So I think it would make more sense to have pgInt and pgInt64 instead since 64bit users can't safely map Int to int4.