PostgreSQL driver and toolkit for Go
 
 
 
Go to file
WGH 5ece2efd4c Fix typo in Record type documentation 2022-04-02 18:52:15 -05:00
.github/workflows Yet another CI tweak 2020-12-28 13:02:34 -06:00
ext Add NullDecimal to shopspring-numeric 2021-08-07 08:23:02 -05:00
pgxtype Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
testutil Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
zeronull Fix zeronull.Float8 2021-08-26 15:42:47 -05:00
CHANGELOG.md Release v1.10.0 2022-02-07 10:51:03 -06:00
LICENSE Update copyright date 2021-03-25 09:08:27 -04:00
README.md Add CI badge 2020-12-28 13:11:36 -06:00
aclitem.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
aclitem_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
aclitem_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
aclitem_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -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 Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04: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 Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bool.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
bool_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
bool_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bool_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
box.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
box_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bpchar.go Fix BPChar.AssignTo **rune 2021-09-25 09:25:01 -05:00
bpchar_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
bpchar_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bpchar_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bytea.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
bytea_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
bytea_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
bytea_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
cid.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
cid_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
cidr.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
cidr_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
cidr_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
circle.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
circle_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
composite_bench_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
composite_fields.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
composite_fields_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
composite_type.go CompositeTextScanner handles backslash escapes 2021-04-24 08:08:34 -05:00
composite_type_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
convert.go correctly Scan type aliases for floating point types 2022-02-05 20:23:39 -06:00
custom_composite_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
database_sql.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
date.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
date_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
date_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
date_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
daterange.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
daterange_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
enum_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
enum_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
enum_type.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04: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 Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
float4_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
float4_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
float4_test.go correctly Scan type aliases for floating point types 2022-02-05 20:23:39 -06:00
float8.go Fix typo in float8 2022-02-01 16:55:20 -06:00
float8_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
float8_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
float8_test.go correctly Scan type aliases for floating point types 2022-02-05 20:23:39 -06: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 Cleaning go.sum 2021-07-24 10:48:07 -05:00
go.sum Cleaning go.sum 2021-07-24 10:48:07 -05:00
hstore.go implement nullable values for hstore maps 2021-10-30 08:38:48 -05:00
hstore_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
hstore_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
hstore_test.go implement nullable values for hstore maps 2021-10-30 08:38:48 -05:00
inet.go Fix #119: add support for bare IP address as input for Inet 2021-08-12 17:50:31 -05:00
inet_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
inet_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
inet_test.go Fix #119: add support for bare IP address as input for Inet 2021-08-12 17:50:31 -05:00
int2.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int2_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int2_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int2_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int4.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int4_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int4_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int4_multirange.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
int4_multirange_test.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
int4_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int4range.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int4range_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int8.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int8_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int8_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int8_multirange.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
int8_multirange_test.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
int8_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
int8range.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
int8range_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
interval.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
interval_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
json.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
json_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
jsonb.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
jsonb_array.go fix: add json rawmessage to typed_array_gen.sh 2022-03-21 19:15:21 -05:00
jsonb_array_test.go test: jsonbarray set failing test cases 2022-03-21 19:15:21 -05:00
jsonb_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
line.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
line_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
lseg.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
lseg_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
macaddr.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
macaddr_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
macaddr_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
macaddr_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
multirange.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
multirange_test.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
name.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
name_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
num_multirange.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
num_multirange_test.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
numeric.go Assign Numeric to *big.Rat 2022-01-14 17:16:04 -06:00
numeric_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
numeric_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
numeric_test.go Assign Numeric to *big.Rat 2022-01-14 17:16:04 -06:00
numrange.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
numrange_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -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 Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
path.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
path_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
pgtype.go Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
pgtype_test.go Fix NULL being lost when scanning unknown OID into sql.Scanner 2021-09-11 10:59:26 -05:00
pguint32.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
point.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
point_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
polygon.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
polygon_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
qchar.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
qchar_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -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 Fix typo in Record type documentation 2022-04-02 18:52:15 -05:00
record_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
text.go Add support for fmt.Stringer and driver.Valuer in String fields encoding 2021-09-25 09:31:55 -05:00
text_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
text_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
text_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
tid.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
tid_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
time.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
time_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
timestamp.go Fix: Timestamp DecodeBinary is in UTC 2021-11-24 07:57:51 -06:00
timestamp_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
timestamp_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
timestamp_test.go Add tests for big time and port fix to Timestamp.DecodeBinary 2021-10-23 09:57:10 -05:00
timestamptz.go Normalize UTC timestamps to comply with stdlib 2021-12-04 10:22:49 -06:00
timestamptz_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
timestamptz_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
timestamptz_test.go Normalize UTC timestamps to comply with stdlib 2021-12-04 10:22:49 -06:00
tsrange.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
tsrange_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
tsrange_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
tstzrange.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
tstzrange_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
tstzrange_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
typed_array.go.erb Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
typed_array_gen.sh fix: add json rawmessage to typed_array_gen.sh 2022-03-21 19:15:21 -05:00
typed_multirange.go.erb Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
typed_multirange_gen.sh Add multirange support for num, int4 and int8 type 2022-03-04 18:15:30 -06:00
typed_range.go.erb Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
typed_range_gen.sh Add pgtype.Numrange 2017-04-03 07:35:19 -05:00
unknown.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
uuid.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
uuid_array.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
uuid_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
uuid_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
varbit.go Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
varbit_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -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 Use Go 1.13 errors instead of xerrors 2021-03-25 09:08:27 -04:00
varchar_array_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05:00
xid.go Get implemented on T instead of *T 2020-02-19 10:48:09 -06:00
xid_test.go Revert "Temporarily delete tests and pgxtype to break recursive dependency with pgx" 2021-07-24 10:40:30 -05: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 and can be used with https://github.com/lib/pq.