Jack Christensen 91a46ce219 Clarify and normalize Value semantics
Previously, Get implicitly allowed returning a reference to an internal
value (e.g. a []byte) but AssignTo was documented as requiring a deep
copy.

This inconsistency meant that either Get was unsafe or the deep copy in
AssignTo was superfluous. In addition, Scan into a []byte skips going
through Bytea and returns a []byte of the unparsed bytes directly. i.e.
a reference not a copy.

Standardize on allowing Get and AssignTo to return internal references
but require a Value never mutate internal values - only replace them.
2020-06-06 08:34:56 -05:00
2020-01-24 14:58:59 -06:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-03-30 11:18:27 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 17:43:44 -05:00
2020-03-09 10:40:40 -05:00
2020-03-09 10:40:40 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-05-10 14:11:24 -05:00
2020-03-30 11:30:37 -05:00
2019-05-20 16:26:58 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2020-02-19 11:58:49 -06:00
2020-02-19 11:58:49 -06:00
2020-03-30 11:30:37 -05:00
2019-09-20 10:14:48 -04:00
2020-03-30 11:30:37 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 17:43:44 -05:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2020-05-11 17:41:20 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 11:58:49 -06:00
2017-03-23 18:41:52 -05:00
2019-04-20 17:43:44 -05:00
2019-09-26 21:08:20 -05:00
2020-05-11 17:21:21 -05:00
2020-05-20 15:01:21 +02:00
2020-05-20 15:01:21 +02:00
2019-12-19 21:35:35 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2017-04-03 07:35:19 -05:00
2020-02-19 10:48:09 -06:00
2020-02-19 11:58:49 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00
2019-04-20 19:14:08 -05:00
2020-02-19 10:48:09 -06:00

pgtype

pgtype implements Go types for over 70 PostgreSQL types. pgtype is the type system underlying the https://github.com/jackc/pgx PostgreSQL driver. These types support the binary format for enhanced performance with pgx. They also support the database/sql Scan and Value interfaces and can be used with https://github.com/lib/pq.

Description
PostgreSQL driver and toolkit for Go
Readme MIT 8 MiB
Languages
Go 98.6%
HTML 1.2%
Shell 0.2%