7 Commits

Author SHA1 Message Date
Jack Christensen
41a185b611 Allow converting intervals with months and days to duration
It's a lossy conversion but so is numeric to float.

fixes #42
2020-06-20 13:26:06 -05:00
Jack Christensen
4ed0de4755 Splitting pgtype into own repo 2019-04-20 19:14:08 -05:00
Jack Christensen
8502a12ac7 Fix go modules
Wow. This is fun. Sure is easy to get modules wrong when upgrading a v2+
project.
2019-04-20 17:41:08 -05:00
Jack Christensen
97a927bb03 Fix TestIntervalNormalize 2017-05-20 08:39:53 -05:00
Jack Christensen
d94f8daeb1 Use pointer methods for all struct pgtypes
Now no need to no whether certain interfaces are implemented by struct or
pointer to struct.
2017-04-14 13:08:05 -05:00
Jack Christensen
e380de7cd1 Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
Jack Christensen
d25c346d6d Add interval type 2017-03-31 20:11:18 -05:00