PostgreSQL driver and toolkit for Go
 
 
 
Go to file
Jack Christensen e22675d20b ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
.github/workflows Yet another CI tweak 2020-12-28 13:02:34 -06:00
pgxtype Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
testutil Remove tests against github.com/lib/pq 2021-11-29 12:54:23 -05:00
zeronull Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
CHANGELOG.md Release v1.9.1 2021-11-28 16:29:42 -06:00
LICENSE Update copyright date 2021-03-25 09:08:27 -04:00
README.md Remove tests against github.com/lib/pq 2021-11-29 12:54:23 -05:00
aclitem.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
aclitem_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
aclitem_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
aclitem_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
array.go Fix parsing text array with negative bounds 2021-10-30 09:00:48 -05:00
array_test.go Fix parsing text array with negative bounds 2021-10-30 09:00:48 -05:00
array_type.go ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
array_type_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bit.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
bit_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bool.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bool_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bool_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bool_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
box.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
box_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bpchar.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bpchar_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bpchar_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bpchar_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bytea.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bytea_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bytea_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
bytea_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
cid.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
cid_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
cidr.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
cidr_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
cidr_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
circle.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
circle_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
composite_bench_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
composite_fields.go ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
composite_fields_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
composite_type.go ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
composite_type_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
convert.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
custom_composite_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
database_sql.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
date.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
date_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
date_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
date_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
daterange.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
daterange_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
enum_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
enum_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
enum_type.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
enum_type_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
float4.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float4_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float4_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float4_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float8.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float8_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float8_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
float8_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
generic_binary.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
generic_text.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
go.mod Remove explicit https://github.com/gofrs/uuid integration 2021-11-29 12:55:23 -05:00
go.sum Remove explicit https://github.com/gofrs/uuid integration 2021-11-29 12:55:23 -05:00
hstore.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
hstore_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
hstore_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
hstore_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
inet.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
inet_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
inet_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
inet_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int2.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int2_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int2_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int2_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4range.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int4range_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8range.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
int8range_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
integration_benchmark_test.go Add full query decoding benchmarks 2021-11-29 12:55:23 -05:00
integration_benchmark_test.go.erb Add full query decoding benchmarks 2021-11-29 12:55:23 -05:00
integration_benchmark_test_gen.sh Add full query decoding benchmarks 2021-11-29 12:55:23 -05:00
interval.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
interval_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
json.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
json_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
jsonb.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
jsonb_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
jsonb_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
jsonb_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
line.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
line_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
lseg.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
lseg_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
macaddr.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
macaddr_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
macaddr_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
macaddr_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
name.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
name_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
new_pg_value.erb Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
new_pg_value_gen.sh Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
numeric.go Add Numeric.MarshalJSON 2021-11-29 12:55:23 -05:00
numeric_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
numeric_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
numeric_test.go Add Numeric.MarshalJSON 2021-11-29 12:55:23 -05:00
numrange.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
numrange_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
oid.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
oid_value.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
oid_value_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
path.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
path_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
pgtype.go ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
pgtype_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
pguint32.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
point.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
point_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
polygon.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
polygon_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
qchar.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
qchar_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
range.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
range_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
record.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
record_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
text.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
text_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
text_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
text_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tid.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tid_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
time.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
time_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamp.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamp_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamp_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamp_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamptz.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamptz_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamptz_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
timestamptz_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tsrange.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tsrange_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tsrange_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tstzrange.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tstzrange_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
tstzrange_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
typed_array.go.erb Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
typed_array_gen.sh Add tsrange array type. 2021-01-09 09:40:43 -06:00
typed_range.go.erb Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
typed_range_gen.sh Add pgtype.Numrange 2017-04-03 07:35:19 -05:00
unknown.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
uuid.go Remove explicit https://github.com/gofrs/uuid integration 2021-11-29 12:55:23 -05:00
uuid_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
uuid_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
uuid_test.go Remove explicit https://github.com/gofrs/uuid integration 2021-11-29 12:55:23 -05:00
varbit.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
varbit_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
varchar.go Allow types to specify preference format result and param formats 2020-05-10 14:05:16 -05:00
varchar_array.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
varchar_array_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
xid.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
xid_test.go Replace Status with Valid to conform to database/sql style 2021-11-29 12:55:19 -05:00
zzz.aclitem.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.bit.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.bool.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.box.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.bpchar.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.bytea.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.cid.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.cidr.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.circle.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.date.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.float4.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.float8.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.generic_binary.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.generic_text.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.hstore.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.inet.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.int2.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.int4.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.int8.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.interval.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.json.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.jsonb.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.line.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.lseg.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.macadder.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.name.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.numeric.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.oid.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.oid_value.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.path.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.pguint32.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.point.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.polygon.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.qchar.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.text.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.tid.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.time.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.timestamp.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.timestamptz.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.uuid.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.varbit.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.varchar.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
zzz.xid.go Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00

README.md

CI

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.