Jack Christensen
1f3e484ca1
pgtype.Encode(Binary|Text) do not write length
...
To aid in composability, these methods no longer write their own length. This
is especially useful for text formatted arrays and may be useful for future
database/sql compatibility. It also makes the code a little simpler as the
types no longer have to compute their own size.
Along with this, these methods cannot encode NULL. They now return a boolean
if they are NULL. This also benefits text array encoding as numeric arrays
require NULL to be exactly `NULL` while string arrays require NULL to be
`"NULL"`.
2017-03-11 12:45:30 -06:00
..
2017-03-04 21:20:56 -06:00
2017-03-10 16:08:47 -06:00
2017-03-03 17:59:26 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 11:48:53 -06:00
2017-03-11 12:45:30 -06:00
2017-03-09 21:07:40 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 22:12:03 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-09 21:07:40 -06:00
2017-03-03 18:39:52 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 11:48:53 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 15:33:34 -06:00
2017-03-04 13:29:04 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 13:29:04 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 13:29:04 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 13:29:04 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 17:33:41 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 17:33:41 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 18:39:52 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 19:19:31 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 18:39:52 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 11:48:53 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 18:39:52 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 11:48:53 -06:00
2017-03-11 12:45:30 -06:00
2017-03-06 17:55:20 -06:00
2017-03-11 12:45:30 -06:00
2017-03-05 13:05:49 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-07 19:39:57 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 21:20:56 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 21:20:56 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 12:36:24 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 12:36:24 -06:00
2017-03-11 12:45:30 -06:00
2017-03-03 18:39:52 -06:00
2017-03-11 12:45:30 -06:00
2017-03-04 11:48:53 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-11 12:45:30 -06:00
2017-03-05 09:07:07 -06:00
2017-03-11 12:45:30 -06:00