2
0

Commit Graph

  • 785f279272 Upgrade dependencies Jack Christensen 2021-07-10 10:02:16 -05:00
  • dcdc3eaec7 Release v1.8.0 Jack Christensen 2021-07-10 09:58:12 -05:00
  • 13d454882b Release v1.9.0 Jack Christensen 2021-07-10 09:54:39 -05:00
  • 5b7c6a3c8e Upgrade to pgproto3 v2.1.1 Jack Christensen 2021-07-10 09:54:24 -05:00
  • a50d96d491 Make timeout error private Michael Darr 2021-07-06 21:44:44 -04:00
  • 9a9830c00d Always double-wrap contextAlreadyDoneError Michael Darr 2021-07-06 15:43:26 -04:00
  • b3e64d3cdb Simplify SafeToRetry for ErrTimeout Michael Darr 2021-07-06 15:36:46 -04:00
  • c0b4d3bc05 Implement timeout error Michael Darr 2021-06-29 14:24:09 -04:00
  • 033ca7d47f Fix unexpected EOF failure for StartupMessage Yuli Khodorkovskiy 2021-07-06 21:35:21 -04:00
  • aafa04c156 Use zap.Any for handling interface{} -> zap.Field conversion Nicholas Wilson 2019-07-04 10:21:32 +01:00
  • 6bce4a1878 Merge pull request #19 from gitstashpop/backend-unexpected-eof Jack Christensen 2021-07-06 20:08:14 -05:00
  • aaef9bbc35 Merge branch 'master' into backend-unexpected-eof Jack Christensen 2021-07-06 20:07:55 -05:00
  • 2d3823838e Perform StartupMessage length validation Yuli Khodorkovskiy 2020-01-23 10:54:03 -05:00
  • 3eceab0f38 Maintain host bits for inet types Cameron Daniel 2021-06-30 14:22:26 +02:00
  • 10c6c50ac9 Extend handling of unexpected EOF to the backend Yuli Khodorkovskiy 2021-06-30 12:54:45 -04:00
  • a123e5b4e5 Add defaults for sslcert, sslkey, and sslrootcert Joshua Brindle 2021-06-21 15:25:10 -04:00
  • 4a2209a1b4 Don't allocate buffer when tx opts are empty Aliaksandr Mianzhynski 2021-06-23 16:30:39 +03:00
  • 2ca304d461 pgtype.Inet preserves masked address portion Jack Christensen 2021-06-26 10:49:34 -05:00
  • bf76d1ed51 Solve issue with 'sslmode=verify-full' when there are multiple hosts mgoddard 2021-06-19 07:16:00 -04:00
  • bacf81fb4e Bumping versions for other dependencies Sivabalan Thirunavukkarasu 2021-06-17 20:43:54 +08:00
  • cfcd61d0cb Updating dependency versions Sivabalan Thirunavukkarasu 2021-06-17 20:17:10 +08:00
  • 2c22da0155 Bumping versions for other dependencies Sivabalan Thirunavukkarasu 2021-06-17 20:46:51 +08:00
  • 821e0521e4 Updating dependency versions Sivabalan Thirunavukkarasu 2021-06-17 19:43:59 +08:00
  • 7c9e840726 Add support for identifying authentication messages Yuli Khodorkovskiy 2021-05-27 14:48:11 -04:00
  • cabb58cc40 ResetSession hook is called before a connection is reused from pool for another query. Dmytro Haranzha 2021-05-13 15:02:22 +03:00
  • 28c20e93c0 Fix json marshal/unmarshal implementations Yuli Khodorkovskiy 2021-05-27 14:47:56 -04:00
  • 9c2c389e06 json: fix implementation of json Unmarshalers. Henrique Vicente 2021-05-17 02:11:29 +02:00
  • ba924e5715 json: Implement json.Unmarshaler for messages. Henrique Vicente 2021-05-16 02:05:24 +02:00
  • 5bca076182 Refactor to interface convert Ivan Daunis 2021-05-17 14:11:56 -07:00
  • 0977e29341 Support pointers of wrapping structs Ivan Daunis 2021-05-10 19:08:06 -07:00
  • fb42201c18 Fix default host when parsing URL without host but with port Jack Christensen 2021-05-14 18:39:31 -05:00
  • 00feeaa5c9 stdlib: style nit in RandomizeHostOrderFunc dkinder 2021-05-08 20:35:30 -04:00
  • a8020a21e8 stdlib: add OptionBeforeConnect and randomizer dkinder 2021-05-06 15:55:58 -04:00
  • cae98b5e45 Register JSONBArray at NewConnInfo() Rueian 2021-05-03 22:19:50 +08:00
  • 4380e23ae1 CompositeTextScanner handles backslash escapes Jack Christensen 2021-04-24 08:08:34 -05:00
  • e722ca608c added url connection example alex 2021-04-13 22:23:34 +03:00
  • 3f76b98073 Allow dbname query parameter in URL conn string Jack Christensen 2021-04-09 18:20:06 -05:00
  • 3ab8941921 stdlib: Do not reuse ConnConfig strings Andrew Kimball 2021-04-01 21:27:32 -07:00
  • 88ede6efb5 stdlib: implement Conn.ResetSession Jonathan Amsterdam 2021-03-26 08:32:04 -04:00
  • 909b81a163 Release v4.11.0 Jack Christensen 2021-03-25 10:21:28 -04:00
  • 799cf1f04b Update copyright date Jack Christensen 2021-03-25 10:08:09 -04:00
  • 096f8ca754 Fix test in other time zones Jack Christensen 2021-03-25 10:07:34 -04:00
  • 2114ca9458 Update pgconn and pgtype Jack Christensen 2021-03-25 09:59:38 -04:00
  • a49f4bb135 Use errors instead of golang.org/x/xerrors Jack Christensen 2021-03-25 09:55:12 -04:00
  • 4a3a424dff Release v1.7.0 Jack Christensen 2021-03-25 09:16:43 -04:00
  • 464a7d88d9 Release v1.8.1 Jack Christensen 2021-03-25 09:15:34 -04:00
  • cdb667b5b0 Update copyright date Jack Christensen 2021-03-25 09:09:55 -04:00
  • 63e2dbefaf Update copyright date Jack Christensen 2021-03-25 09:03:46 -04:00
  • dd160540c4 Use Go 1.13 errors instead of xerrors Jack Christensen 2021-03-25 09:01:59 -04:00
  • e8f75629d0 upgrade x/crypto to avoid CVE-2020-9283 Ethan Pailes 2021-03-22 13:51:08 -04:00
  • 80147fd7cc Use sync.Once to guard pool.Close Jack Christensen 2021-03-19 08:56:05 -05:00
  • fe366b2cf3 Prevent panics caused by attempting to close an already closed pgxpool.Pool. Matt Schultz 2021-03-16 18:07:24 -05:00
  • a0028cbd0d Handle SendBatch calls on closed transactions with null connections. This was previously panicking due to a null pointer exception as exposed in the provided unit test. Matt Schultz 2021-03-16 14:59:47 -05:00
  • 495d482f20 Fix PG version extraction in tests Jack Christensen 2021-03-13 07:51:28 -06:00
  • 1fcefdc73f Fix BeginTxFunc not passing txOptions Jack Christensen 2021-03-13 07:43:08 -06:00
  • 292539a590 Add comment support when sanitizing SQL queries Rusakow Andrew 2021-03-13 17:07:37 +07:00
  • aa89720576 go 1.13 drewdogg 2021-03-12 18:08:10 -07:00
  • 00704ce8b7 Skip test on too old PostgreSQL Jack Christensen 2021-03-13 07:18:26 -06:00
  • e93da6c744 Fix ignored deferred error with database/sql QueryRow Jack Christensen 2021-03-13 06:52:58 -06:00
  • 8990c125cf Stop fallback on ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION Andrey Borodin 2021-03-12 11:55:01 +05:00
  • b6027e37f4 Stop fallback in case of invalid password Andrey Borodin 2021-03-12 11:48:43 +05:00
  • 70be4b4a02 Fix incoherent type assignment Andrey Borodin 2021-03-10 22:29:01 +05:00
  • 26ccb4ee08 Resume fallback on server error Andrey Borodin 2021-03-10 22:19:41 +05:00
  • 0f1bda20b0 Fix numeric NaN support Jack Christensen 2021-03-11 19:48:47 -06:00
  • 38ab93613b Make CopyFrom log message more specific Jack Christensen 2021-03-11 19:22:40 -06:00
  • 41fa6e844c Add logging on CopyFrom Patrick Hemmer 2021-03-07 22:51:32 -05:00
  • 0cc35d7a60 Update supported versions Jack Christensen 2021-03-06 17:25:15 -06:00
  • d46e447a39 Add CockroachDB to CI Jack Christensen 2021-03-06 16:13:07 -06:00
  • 9e55cff611 Fix testing Fatalf in goroutines Jack Christensen 2021-03-06 16:20:21 -06:00
  • 5daa019e4e Update README.md to authentication test setup Jack Christensen 2021-03-06 16:08:38 -06:00
  • 0d307bcc5e Add CockroachDB to CI Jack Christensen 2021-03-06 15:49:50 -06:00
  • 1e905d8e38 Refactor connection strings into build matrix Jack Christensen 2021-03-06 15:20:03 -06:00
  • 7de3392269 Manually specify all build matrix options Jack Christensen 2021-03-06 15:15:03 -06:00
  • a0350a932a ci.yml consistently uses kebab case Jack Christensen 2021-03-06 15:01:44 -06:00
  • cf5894e092 Use std errors instead of golang.org/x/xerrors Jack Christensen 2021-03-06 14:45:33 -06:00
  • 3b0400a0d4 Test Go 1.15 and 1.16 in CI Jack Christensen 2021-03-06 14:42:22 -06:00
  • 36c8fb8257 fix #65 : close cleanupDone channel on "FATAL" messages Georges Varouchas 2021-03-04 18:07:41 +01:00
  • b9a1aad8d9 add failing test to highlight issue #65 Georges Varouchas 2021-03-04 17:58:49 +01:00
  • d245ed47f1 Increase pool release conn wait time for CI Jack Christensen 2021-03-04 20:06:15 -06:00
  • f8c43c97ab Document prefer_simple_protocol config option Jack Christensen 2021-03-04 19:58:52 -06:00
  • d9ac491657 Add prefer_simple_protocol option to ParseConfig Jack Christensen 2021-03-04 19:56:14 -06:00
  • 1dc7133a63 Simplify CockroachDB detection Jack Christensen 2021-02-27 10:40:06 -06:00
  • 09371f21d0 Use JSON format compat with PG and CockroachDB Jack Christensen 2021-02-27 10:28:45 -06:00
  • fea4bc4318 Use bigint in tests for compat. with CockroachDB Jack Christensen 2021-02-27 10:26:14 -06:00
  • fb60d0780e Skip unsupported testing functionality on CockroachDB Jack Christensen 2021-02-27 10:25:45 -06:00
  • 2b63da6f12 Skip backend PID dependent tests on CockroachDB Jack Christensen 2021-02-27 10:03:58 -06:00
  • 1e15bdc874 Remove deferred from test tables where unneeded Jack Christensen 2021-02-27 09:56:29 -06:00
  • ff6ab48e00 Skip tests with parameter description server issues Jack Christensen 2021-02-27 09:52:28 -06:00
  • 674cf70c51 Skip tests with known server issues Jack Christensen 2021-02-20 16:47:09 -06:00
  • 775d3b1049 Fake success on example Jack Christensen 2021-02-20 16:28:24 -06:00
  • 30d44c0369 Test code instead of error message for CockroachDB Jack Christensen 2021-02-13 14:18:03 -06:00
  • 378bd72b67 Allow flexible number types for CockroachDB Jack Christensen 2021-02-13 14:15:26 -06:00
  • 44733732e4 Skip number type sensitive test on CockroachDB Jack Christensen 2021-02-13 14:14:30 -06:00
  • eaf3e84963 Add timeout to serialization failure test Jack Christensen 2021-02-13 14:09:25 -06:00
  • bac0905915 Specify type for CockroachDB Jack Christensen 2021-02-13 14:04:56 -06:00
  • ef2adcee08 Skip number type dependent test for CockroachDB Jack Christensen 2021-02-13 14:01:43 -06:00
  • b01dd934e5 Allow different int size for CockroachDB Jack Christensen 2021-02-13 14:01:17 -06:00
  • fe3a710a5a Skip test depending on exact int types on CockroachDB Jack Christensen 2021-02-13 13:55:07 -06:00
  • 9fe7962445 Skip another initially deferred test on CockroachDB Jack Christensen 2021-02-13 13:38:28 -06:00
  • 80e7f6b0d3 Skip testing circle type on CockroachDB Jack Christensen 2021-02-13 13:37:08 -06:00