2
0

Commit Graph

  • 55d5d036c0 add pgx xray tracer to readme Jack Hopner 2022-10-26 09:46:05 +13:00
  • 987de3874e Update changelog Jack Christensen 2022-10-24 19:11:50 -05:00
  • 3ad9995dfe Exec checks if tx is closed Jack Christensen 2022-10-24 18:23:26 -05:00
  • 3e825ec898 Fix RowToStructByPos on structs with multiple anonymous sub-structs Baptiste Fontaine 2022-10-18 17:20:47 +00:00
  • ba100785cc fix: bump text package for CVE-2022-32149 Jeff Koenig 2022-10-17 11:43:03 -04:00
  • 48b4807b33 Fix some reflect Kind checks to first check for nil Jack Christensen 2022-10-22 08:57:49 -05:00
  • 6e40968cfc CollectOneRow prefers PostgreSQL error over pgx.ErrorNoRows Jack Christensen 2022-10-22 08:44:06 -05:00
  • 11e5f68ff6 Update changelog for v5.0.3 Jack Christensen 2022-10-14 19:11:11 -05:00
  • 7a9e70d1e0 Fix some bad rows.Err() handlings in tests Baptiste Fontaine 2022-10-14 16:44:43 +00:00
  • f2e7c8144d reflect.TypeOf can return nil. Check before using Jack Christensen 2022-10-12 20:03:51 -05:00
  • aff180b192 Remove dead code Jack Christensen 2022-10-12 19:58:06 -05:00
  • a581124dea Encode with driver.Valuer after trying TryWrapEncodePlanFuncs Jack Christensen 2022-10-12 19:52:57 -05:00
  • c4407fb36e Prevent infinite loop for driver.Valuer / Codec edge case Jack Christensen 2022-10-12 19:46:15 -05:00
  • 094ad9c9d8 Update changelog for v5.0.2 Jack Christensen 2022-10-08 18:58:17 -05:00
  • af0b896290 Allow scanning null even if PG and Go types are incompatible Jack Christensen 2022-10-08 09:10:43 -05:00
  • 5655f9d593 Fix scan to pointer to pointer to renamed type Jack Christensen 2022-10-08 08:10:40 -05:00
  • f803c790d0 Fix docs for listen / notify Jack Christensen 2022-10-01 12:58:49 -05:00
  • 222e3b37bc Prefer driver.Value over wrap plans when encoding Jack Christensen 2022-10-01 12:20:23 -05:00
  • 89f69aaea9 Date text encoding includes leading zero for month and day Jack Christensen 2022-10-01 10:41:40 -05:00
  • 63ae730fe8 Upgrade CockroachDB on CI Jack Christensen 2022-10-01 10:11:11 -05:00
  • 305c4ddbc7 Move and rename test Jack Christensen 2022-10-01 10:09:57 -05:00
  • fb83fb0cc3 Skip TestCopyFrom on CockroachDB Jack Christensen 2022-10-01 10:04:15 -05:00
  • c48dd7e1f8 Add a test case demonstrating I/O race with CopyFrom Tommy Reilly 2022-09-27 01:39:36 +00:00
  • cd8b29b0fe Fix flickering on TestConnectTimeoutStuckOnTLSHandshake Jack Christensen 2022-09-24 12:54:59 -05:00
  • 0aa681f3a3 Update changelog for v5.0.1 Jack Christensen 2022-09-24 11:15:31 -05:00
  • 335c8621ff Fix sqlScannerWrapper NULL handling Jack Christensen 2022-09-24 10:29:44 -05:00
  • ac9d4f4d96 Encode text for Lseg includes [ and ] Jack Christensen 2022-09-24 09:36:12 -05:00
  • 72e4b88e56 feat: add marshalJSON for float8 type yogipristiawan 2022-09-22 21:46:00 +07:00
  • 639fb28846 Fix typo Peter Feichtinger 2022-09-20 12:42:42 +02:00
  • d7c7ddc594 Fix Windows 386 atomic usage Jack Christensen 2022-09-24 09:23:36 -05:00
  • 4fc4f9a603 Remove spurious .travis.yml Jack Christensen 2022-09-17 10:36:36 -05:00
  • 23a59d68fc Merge branch 'v5-dev' Jack Christensen 2022-09-17 10:35:32 -05:00
  • 5a055434f2 Upgrade dependencies Jack Christensen 2022-09-17 10:24:19 -05:00
  • 1a314bda3b pgconn.Timeout() no longer considers context.Canceled as a timeout error. Jack Christensen 2022-09-17 10:18:06 -05:00
  • 4f1a8084f1 Various doc and changelog tweaks Jack Christensen 2022-09-17 09:03:48 -05:00
  • a05fb80b8a Update docs and changelog for renamed pgxpool.NewWithConfig Jack Christensen 2022-09-16 18:16:36 -05:00
  • 90b69c0ee0 Fix atomic alignment on 32-bit platforms Jack Christensen 2022-08-27 09:23:17 -05:00
  • ee2622a8e6 RowToStructByPos supports embedded structs Jack Christensen 2022-09-06 18:32:10 -05:00
  • d42b399be3 Update changelog Jack Christensen 2022-09-03 13:42:36 -05:00
  • f015ced1bf Use puddle v2.0.0-beta.2 for Acquire in background after cancel Jack Christensen 2022-09-03 13:20:19 -05:00
  • 782133158f Test sending CopyData before CopyFrom responds with error Jack Christensen 2022-09-03 09:28:42 -05:00
  • dfce986bb5 Fix panic when logging batch error Tom Möller 2022-08-31 13:25:08 +02:00
  • f8d088cfb6 Fix JSON scan not completely overwriting destination Jack Christensen 2022-09-02 18:37:02 -05:00
  • f5cdf0d383 Update changelog Jack Christensen 2022-08-27 18:18:41 -05:00
  • 72fe594942 Upgrade to puddle v1.3.0 Jack Christensen 2022-08-27 18:18:34 -05:00
  • bce26b85d1 Fix atomic alignment on 32-bit platforms Jack Christensen 2022-08-27 09:23:17 -05:00
  • bb6c997102 Add NewCommandTag Jack Christensen 2022-08-23 19:39:15 -05:00
  • fe3a4f3150 Standardize casing for NULL in error messages Jack Christensen 2022-08-22 20:58:22 -05:00
  • 2e73d1e8ee Improve error message when failing to scan a NULL::json Jack Christensen 2022-08-22 20:56:36 -05:00
  • 0d5d8e0137 Fallback to other format when encoding query arguments Jack Christensen 2022-08-22 20:06:42 -05:00
  • ae65a8007b Use higher pgconn.FieldDescription with string Name Jack Christensen 2022-08-20 09:54:30 -05:00
  • dbee461dc9 Update previous pgconn merge for v5 Jack Christensen 2022-08-19 17:42:04 -05:00
  • ef5655c563 Merge remote-tracking branch 'pgconn/master' into v5-dev Jack Christensen 2022-08-19 17:36:29 -05:00
  • 15f8e6323e Fix tests that check tls.Config.ServerName -- with SNI this field is filled, unless SNI is delibaretely disabled. Also, do not set SNI when host is an IP address as per RFC 6066. Stas Kelvich 2022-08-17 12:04:42 +03:00
  • e3406d95f9 Add test coverage for client SNI Stas Kelvich 2022-08-16 02:03:11 +03:00
  • 067771b2e6 Set SNI for SSL connections Stas Kelvich 2022-08-15 23:24:34 +03:00
  • 8eae4a2a3e Merge remote-tracking branch 'pgconn/master' into v5-dev Jack Christensen 2022-08-13 10:19:49 -05:00
  • faabb0696f Fix for timeout when a single node has timed out, created a new context to allow for each db node to timeout individually Nathan Giardina 2022-08-12 20:40:44 +00:00
  • 1d748d9bbf Failsafe timeout for background pool connections Jack Christensen 2022-08-13 09:49:06 -05:00
  • c842802d65 Failsafe timeout for background pool connections Jack Christensen 2022-08-13 09:49:06 -05:00
  • 7c6a31f9d2 CopyFrom parses strings to encode into binary format Jack Christensen 2022-08-13 09:30:29 -05:00
  • 02d9a5acd8 Fix naming of some tests Jack Christensen 2022-08-13 08:41:06 -05:00
  • 8256ab147f Add build tag to skip default PG type registration Jack Christensen 2022-08-13 08:09:44 -05:00
  • 906f709e0c Fix typo in Windows code Jack Christensen 2022-08-11 20:59:37 -05:00
  • 33b782a96d Potential fix for Windows Jack Christensen 2022-08-11 20:55:50 -05:00
  • 1453cd4b97 Update v5 status Jack Christensen 2022-08-06 07:11:11 -05:00
  • 6871a0c4a6 Add v5 testing note to readme Jack Christensen 2022-08-06 07:10:37 -05:00
  • 1819959d07 Merge branch 'master' into v5-dev Jack Christensen 2022-08-06 06:41:33 -05:00
  • 8f0c9557e4 Merge remote-tracking branch 'pgconn/master' into v5-dev Jack Christensen 2022-08-06 06:33:10 -05:00
  • 1f64122c42 Tweak changelog Jack Christensen 2022-08-06 06:27:32 -05:00
  • 5768a0c0bd Update changelog Jack Christensen 2022-08-06 06:24:41 -05:00
  • 7ce634d62b Ensure there is a timeout for background pool connections Jack Christensen 2022-08-06 06:22:17 -05:00
  • f3e04b28cc Go 1.19 go fmt Jack Christensen 2022-08-06 06:20:50 -05:00
  • 7ad36f386d Upgrade dependencies Jack Christensen 2022-08-06 06:11:07 -05:00
  • 4c048d40d8 Update changelog Jack Christensen 2022-08-06 06:07:40 -05:00
  • 5192d9acc1 Upgrade 3rd party dependencies Jack Christensen 2022-08-06 06:00:03 -05:00
  • 0a539a9d92 Upgrade pgproto3 Jack Christensen 2022-08-06 05:58:55 -05:00
  • 3cb99532f5 pgxpool: Make BeginTx success case clearer Peter Feichtinger 2022-08-03 09:22:13 +02:00
  • 0eda0109ca Add Pool.Reset() Jack Christensen 2022-07-30 12:22:29 -05:00
  • 83670d675d Upgrade golang.org/x/crypto Jack Christensen 2022-07-30 12:17:00 -05:00
  • 957671a6ec Use puddle v2 Jack Christensen 2022-07-30 12:16:16 -05:00
  • 033fc6f62a Rename pgxpool.NewConfig to NewWithConfig Jack Christensen 2022-07-30 09:16:42 -05:00
  • c3258b7f52 Fix scan pointer to pointer to nil slice Jack Christensen 2022-07-30 09:10:50 -05:00
  • 91c9e841e1 Ignore cancellation in puddle constructor James Hartig 2022-07-25 09:48:00 -04:00
  • 88079de700 Update issue templates Jack Christensen 2022-07-30 07:46:10 -05:00
  • 7f382f5190 Better fuzz testing and fix several bugs it found Jack Christensen 2022-07-23 16:13:06 -05:00
  • 9d0f27bc4b Initial fuzz testing and fix Jack Christensen 2022-07-23 15:21:34 -05:00
  • 2da0a11c52 Skip some examples on CockroachDB Jack Christensen 2022-07-23 10:52:35 -05:00
  • cb5ddcd6b6 Update issue templates Jack Christensen 2022-07-23 10:43:26 -05:00
  • ce378b4d9c Skip example on Cockroach DB Jack Christensen 2022-07-23 10:21:01 -05:00
  • 5cee04a026 Add child records docs and examples Jack Christensen 2022-07-23 10:11:13 -05:00
  • 4739f79fca More doc tweaks Jack Christensen 2022-07-23 09:42:46 -05:00
  • 3595561d9a More doc improvements Jack Christensen 2022-07-23 09:29:25 -05:00
  • e487ab0886 Docs should emphasize CollectRows and ForEachRow Jack Christensen 2022-07-23 09:04:03 -05:00
  • 83780b85b5 Remove pgx logging code moved to tracelog Jack Christensen 2022-07-23 08:54:59 -05:00
  • 68b7e12df2 Add examples Jack Christensen 2022-07-23 08:52:01 -05:00
  • 9a61fc250f Recommend CollectRows in ConnQuery docs Jack Christensen 2022-07-23 08:31:37 -05:00
  • 4087119005 Add Conn.Query example Jack Christensen 2022-07-23 08:24:44 -05:00
  • 178a84261f Improve Query docs Jack Christensen 2022-07-23 07:53:02 -05:00
  • cb48716c67 Update to new package path Jack Christensen 2022-07-23 07:31:14 -05:00