pgx/pgtype
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
..
ext Add satori-uuid type 2017-04-14 16:46:39 -05:00
testutil Use pgx.ParseConnectionString in test helper 2017-04-14 17:21:32 -05:00
aclitem.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
aclitem_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
aclitem_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
aclitem_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
array.go Add pgtype.Record and prerequisite restructuring 2017-03-18 12:01:16 -05:00
array_test.go Add text to pgtype 2017-03-04 21:20:56 -06:00
bool.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
bool_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
bool_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
bool_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
box.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
box_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
bytea.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
bytea_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
bytea_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
bytea_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
cid.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
cid_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
cidr.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
cidr_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
cidr_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
circle.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
circle_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
convert.go Add shopspring.Numeric 2017-04-14 12:24:44 -05:00
database_sql.go Add satori-uuid type 2017-04-14 16:46:39 -05:00
date.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
date_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
date_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
date_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
daterange.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
daterange_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
decimal.go Add pgtype.Numeric 2017-04-01 23:33:04 -05:00
float4.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
float4_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
float4_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
float4_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
float8.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
float8_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
float8_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
float8_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
generic_binary.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
generic_text.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
hstore.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
hstore_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
hstore_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
hstore_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
inet.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
inet_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
inet_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
inet_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
int2.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int2_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int2_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
int2_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
int4.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int4_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int4_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
int4_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
int4range.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int4range_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
int8.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int8_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int8_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
int8_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
int8range.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
int8range_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
interval.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
interval_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
json.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
json_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
jsonb.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
jsonb_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
line.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
line_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
lseg.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
lseg_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
macaddr.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
macaddr_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
name.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
name_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
numeric.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
numeric_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
numeric_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
numeric_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
numrange.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
numrange_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
oid.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
oid_value.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
oid_value_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
path.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
path_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
pgtype.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
pgtype_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
pguint32.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
point.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
point_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
polygon.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
polygon_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
qchar.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
qchar_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
range.go Add int4range 2017-03-23 18:41:52 -05:00
range_test.go Add int4range 2017-03-23 18:41:52 -05:00
record.go Add shopspring.Numeric 2017-04-14 12:24:44 -05:00
record_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
text.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
text_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
text_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
text_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
tid.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
tid_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
timestamp.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
timestamp_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
timestamp_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
timestamp_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
timestamptz.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
timestamptz_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
timestamptz_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
timestamptz_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
tsrange.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
tsrange_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
tstzrange.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
tstzrange_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
typed_array.go.erb pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
typed_array_gen.sh Add pgtype.NumericArray 2017-04-03 07:46:45 -05:00
typed_range.go.erb pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
typed_range_gen.sh Add pgtype.Numrange 2017-04-03 07:35:19 -05:00
unknown.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
uuid.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
uuid_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
varbit.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
varbit_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
varchar.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
varchar_array.go pgtype DecodeText and DecodeBinary do not copy 2017-04-29 12:23:51 -05:00
varchar_array_test.go Finish extraction of pgtype test helpers 2017-04-14 12:38:33 -05:00
xid.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00
xid_test.go Use pointer methods for all struct pgtypes 2017-04-14 13:08:05 -05:00