3078 Commits

Author SHA1 Message Date
James Hartig
5a5260b73d feat: support port in ip from LookupFunc to override config
Fixes #97
2021-12-18 08:16:31 -06:00
Jack Christensen
d2dc20af81 Link to extensions 2021-12-11 15:32:52 -06:00
Jack Christensen
b2569172d8 Fix typo in example 2021-12-11 14:55:02 -06:00
Jack Christensen
7c5dbde59e Upgrade remaining dependencies 2021-12-11 14:54:25 -06:00
Jack Christensen
8e2e8a7009 Remove external log adapters 2021-12-11 14:52:31 -06:00
Jack Christensen
ef2b70edad Remove github.com/gofrs/uuid test dependency 2021-12-11 14:37:02 -06:00
Jack Christensen
731312fea8 Remove github.com/shopspring/decimal test dependency 2021-12-11 14:32:32 -06:00
Jack Christensen
9ab821620f Remove github.com/Masterminds/semver/v3 test dependency 2021-12-11 14:27:00 -06:00
Jack Christensen
1b416b36dc Finish temp removal of PG < 14 from CI 2021-12-11 14:26:04 -06:00
Jack Christensen
066908d4f8 Temporarily remove all PG versions but 14 from CI
Same issue as previous commit removing CockroachDB. numeric type only
supports infinity on PG 14 and there is no easy way in the current
test structure to skip tests based on server version.
2021-12-11 14:15:22 -06:00
Jack Christensen
5fbf907471 Temporarily remove cockroachdb from CI
pgtype has a ton of tests that don't work on CockroachDB. And because of
how the tests are structured it is difficult to skip just those tests.

pgtype may have significant changes before v5 is released so delay
updating these tests.
2021-12-11 14:09:37 -06:00
Jack Christensen
9ae7452196 Remove Go 1.16 from CI
By the time v5 is released 1.17 will be the minimum supported version.
May as well save some CI time in the mean while.
2021-12-11 14:07:52 -06:00
Jack Christensen
8c9646dbfe Remove github.com/cockroachdb/apd test dependency 2021-12-11 13:45:37 -06:00
Jack Christensen
6b2a0d99a2 Run CI on v5-dev branch 2021-12-11 13:37:13 -06:00
Jack Christensen
81168a61d1 Update go.mod go version to 1.17 2021-12-11 13:32:50 -06:00
Jack Christensen
85b08ac663 Fix some previously broken comment links 2021-12-11 13:30:36 -06:00
Jack Christensen
72cc95e4dd Bump module version to v5 2021-12-11 13:29:03 -06:00
Jack Christensen
390bd79757 Add array integration benchmarks 2021-12-11 09:19:11 -06:00
Jack Christensen
d9e53647ec Use ideomatic casing 2021-12-11 09:08:05 -06:00
Jack Christensen
fbbf403cf2 Update changelog 2021-12-11 08:56:41 -06:00
Jack Christensen
0e293b966c Finish import of pgconn 2021-12-04 14:06:57 -06:00
Jack Christensen
5c36639f09 Merge branch 'pgconnimport' into v5-dev 2021-12-04 13:51:50 -06:00
Jack Christensen
19ec4d505f Import to pgx main repo in pgconn subdir 2021-12-04 13:51:24 -06:00
Jack Christensen
7e13db4538 Finish import of pgtype repo
Fix some tests that broke by merging repos
Tweak readme wording
2021-12-04 13:45:57 -06:00
Jack Christensen
7aeb42b80c Merge branch 'pgtypeimport' into v5-dev 2021-12-04 13:10:07 -06:00
Jack Christensen
44214b7854 Import to pgx main repo in pgtype subdir 2021-12-04 13:07:54 -06:00
Jack Christensen
550cc7b529 wip 2021-12-04 12:53:20 -06:00
Jack Christensen
e22675d20b ValueTranscoder uses new interfaces 2021-12-04 12:45:20 -06:00
Jack Christensen
8f454e4cd6 Add initial ParamEncoder and ResultDecoder support to core types 2021-12-04 11:36:50 -06:00
Torkel Rogstad
75446032b9 Normalize UTC timestamps to comply with stdlib 2021-12-04 10:22:49 -06:00
Jack Christensen
2226a5e14e Remove explicit https://github.com/gofrs/uuid integration
Better integration is now enabled by github.com/jackc/pgx-gofrs-uuid.
2021-11-29 12:55:23 -05:00
Jack Christensen
0d9bd0366b Add Numeric.MarshalJSON 2021-11-29 12:55:23 -05:00
Jack Christensen
55195b3a64 Add Numeric.Getter 2021-11-29 12:55:23 -05:00
Jack Christensen
1a3e5b0266 Remove explicit shopspring/decimal integration
Better integration is now enabled by github.com/jackc/pgx-shopspring-decimal.
2021-11-29 12:55:23 -05:00
Jack Christensen
55ad9007cd Finish Numeric changes for easy integration with 3rd party types 2021-11-29 12:55:23 -05:00
Jack Christensen
c0eae32e8b Remove ConnInfo.DeepCopy() 2021-11-29 12:55:23 -05:00
Jack Christensen
63a8fe12d7 Add hooks for efficiently integrating with 3rd party types 2021-11-29 12:55:23 -05:00
Jack Christensen
2886673a3c Add full query decoding benchmarks 2021-11-29 12:55:23 -05:00
Jack Christensen
11d351dd75 Replace Status with Valid to conform to database/sql style
https://github.com/jackc/pgx/issues/1060
2021-11-29 12:55:19 -05:00
Jack Christensen
37044f47f5 Remove tests against github.com/lib/pq 2021-11-29 12:54:23 -05:00
Jack Christensen
cf0de913ee Use pgtype.UUID for test instead of ext UUID 2021-11-29 12:29:02 -05:00
Jack Christensen
9fdaf7da81 Release v4.14.1 v4.14.1 2021-11-28 22:46:52 -05:00
Jack Christensen
5b91cac132 Update to pgtype v1.9.1 2021-11-28 22:43:59 -05:00
Jack Christensen
e95ebc02d9 Release v1.9.1 2021-11-28 16:29:42 -06:00
Jack Christensen
84bb47fb26 Fix: Timestamp DecodeBinary is in UTC
Preserve previously existing behavior.

fixes #138
2021-11-24 07:57:51 -06:00
Jille Timmermans
1d606a91b8 Change constant definition syntax so they show up in godoc
for TxAccessMode, TxDeferrableMode and TxIsoLevel

After this commit, Godoc understands these are the valid values of these
types and shows them together in the documentation.
2021-11-22 09:47:15 -06:00
Jack Christensen
058f346079 Start pgxpool background health check after initial connections
Otherwise the health check and the create initial connection(s) may both
create connections. While this generally wouldn't be a real problem it
did cause TestPoolBackgroundChecksMinConns to flicker on CI.
2021-11-20 11:19:10 -06:00
Jack Christensen
a55e88ee48 Do not run CI with verbose
Makes it very difficult to see what is actually failing.
2021-11-20 10:53:51 -06:00
Jack Christensen
9da0a7aef7 Release v4.14.0 v4.14.0 2021-11-20 10:48:31 -06:00
Jack Christensen
968a00094e Further increase wait times on timing tests for CI 2021-11-20 10:43:13 -06:00