2938 Commits

Author SHA1 Message Date
Jack Christensen
9fc8f9b3a8 Initial passing tests for main pgx package 2021-12-30 18:12:47 -06:00
Oscar
109c4c2d95 fix standby mode validation 2021-12-28 09:31:38 -06:00
Oscar
3aaf3409ce remove redundant map value type 2021-12-28 09:31:38 -06:00
Oscar
3ce8a835e1 add support for read-only, primary, standby, prefer-standby target_session_attributes 2021-12-28 09:31:38 -06:00
Blake Embrey
a1852214fe Keep status connecting after tls 2021-12-27 14:28:33 -06:00
Blake Embrey
b148a14bbe Fix defer usage 2021-12-27 14:28:33 -06:00
Blake Embrey
01a6923376 Rename fn to new 2021-12-27 14:28:33 -06:00
Blake Embrey
024de4c8f3 Unwatch and re-watch tls 2021-12-27 14:28:33 -06:00
Blake Embrey
c0a0be876d Fix TLS connection timeout 2021-12-27 14:28:33 -06:00
Jack Christensen
58b7486343 Initial codec support for int2 and int2[] 2021-12-23 13:12:54 -06:00
Jack Christensen
14b5053209 Merge remote-tracking branch 'pgconn/master' into v5-dev 2021-12-18 08:20:53 -06:00
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
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