Jack Christensen
cb4431028c
Fix precision loss for test format geometric types
...
fixes #399
2018-03-17 10:26:03 -05:00
Jack Christensen
8f4178b3d3
Use github.com/pkg/errors
2017-06-04 21:30:03 -05:00
Jack Christensen
6e64a0c867
Refactor pgio and types to append buffers
2017-05-02 20:38:26 -05:00
Jack Christensen
932caef600
pgtype DecodeText and DecodeBinary do not copy
...
They now take ownership of the src argument.
Needed to change Scan to make a copy of []byte arguments as lib/pq apparently
gives Scan a shared memory buffer.
2017-04-29 12:23:51 -05:00
Jack Christensen
cab445ddd2
Add satori-uuid type
...
Make pgtype.EncodeValueText public
2017-04-14 16:46:39 -05:00
Jack Christensen
5be6819a8c
Add pgtype.Circle
...
Also rename Point.Vec2 to Point.P to conform to rest of geometric types.
2017-04-04 20:39:48 -05:00
Jack Christensen
06822bebe0
Add pgtype.Box
2017-04-03 19:47:36 -05:00
Jack Christensen
5a2feadf11
Add pgtype.Point
2017-04-03 17:53:32 -05:00