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
a8c350c77d
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
6ca1c1e41e
Add pgtype.Numrange
2017-04-03 07:35:19 -05:00