2
0

Commit Graph

  • d9560c78b8 Use tx instead of underlying conn in test Jack Christensen 2023-06-03 07:59:28 -05:00
  • 608f39f426 Ensure pgxpool.Pool.QueryRow.Scan releases connection on panic Jack Christensen 2023-06-03 07:39:56 -05:00
  • 229d2aaa49 TestConnCopyFromBinary: increase context timeout Nicola Murino 2023-05-31 14:53:04 +02:00
  • b4314ddaf7 TestConnCopyFromSlowFailRace: increase context timeout Nicola Murino 2023-05-31 14:40:19 +02:00
  • 28bd5b3843 TestConnectTimeoutStuckOnTLSHandshake: allow more time to complete Nicola Murino 2023-05-28 20:11:15 +02:00
  • fb47e1abbb TestContextWatcherStress: reduce sleep counts Nicola Murino 2023-05-28 19:59:54 +02:00
  • c861bce438 CancelRequest: don't try to read the reply Nicola Murino 2023-05-28 19:12:01 +02:00
  • 46d91255b0 remove timeout for test cases on Windows Nicola Murino 2023-05-28 09:27:31 +02:00
  • ef363b59ab skipping some config parsing tests on Windows Nicola Murino 2023-05-28 09:09:30 +02:00
  • bad6b36c47 CI Windows: Initialize test database Nicola Murino 2023-05-28 01:51:55 +02:00
  • 33d4fa0fa6 TLS with Fake Non-blocking IO test is expected to fail on Windows Nicola Murino 2023-05-27 22:56:59 +02:00
  • 30d63caa6a CI: run basic tests on Windows Nicola Murino 2023-05-27 21:58:44 +02:00
  • b0fa429fd0 add a comment explaining that nbOperMu and nbOperCnt are used on Windows Nicola Murino 2023-05-27 21:15:49 +02:00
  • 32c7858e61 Revert "Remove unused fields" Nicola Murino 2023-05-27 21:14:17 +02:00
  • c7733fe52e Update README.md Pavlo Golub 2023-05-30 19:18:44 +02:00
  • 9720d0d63f Use context timeouts for tracelog tests Jack Christensen 2023-05-29 11:23:21 -05:00
  • 5f6636d028 Add context timeouts for more pgxpool tests Jack Christensen 2023-05-29 11:15:40 -05:00
  • a1a97a7ca8 Add context timeouts for some pgxpool tests Jack Christensen 2023-05-29 11:04:52 -05:00
  • 0ec512b504 Fix: possible fail in goroutine after test has completed Jack Christensen 2023-05-29 10:43:15 -05:00
  • f93b42b6ac Allow more time for TestConnExecBatchHuge Jack Christensen 2023-05-29 10:35:38 -05:00
  • 9f00b6f750 Use context timeouts in more tests Jack Christensen 2023-05-29 10:25:57 -05:00
  • 4b9aa7c4f2 chore: update version of golang.org/x/crypto library from v0.6.0 to v0.9.0 Jonathan Gonzalez V 2023-05-29 15:27:33 +02:00
  • 2c1973de46 Remove unused fields Jack Christensen 2023-05-27 08:18:47 -05:00
  • b3739c1289 pgconn.CheckConn locks connection Jack Christensen 2023-05-26 06:03:25 -05:00
  • 70a200cff4 Fix test failures Add bool type alias conversion in elemKindToPointerTypes and underlyingNumberType Alek Anokhin 2023-05-19 12:36:53 +02:00
  • c1c67e4e58 Fix: correctly handle bool type aliases Wichert Akkerman 2023-05-12 12:59:12 +02:00
  • 9de41fac75 ParseConfig: default_query_exec_mode: Return arg in error Evan Jones 2023-05-17 13:21:46 -04:00
  • 11d892dfcf pgconn.CancelRequest: Fix unix sockets: don't use RemoteAddr() Evan Jones 2023-05-17 12:22:30 -04:00
  • 0292edecb0 pgx.Conn: Fix memory leak: Delete items from preparedStatements Evan Jones 2023-05-17 13:46:20 -04:00
  • eab316e200 pgtype.Hstore: Fix quoting of whitespace; Add test Evan Jones 2023-05-15 20:48:35 -04:00
  • 8ceef73b84 pgtype.parseHstore: Reject invalid input; Fix error messages Evan Jones 2023-05-15 11:52:26 -04:00
  • bbcc4fc0b8 pgtype/hstore_test.go: Add coverage for text protocol Evan Jones 2023-05-15 11:43:34 -04:00
  • cead918e18 run tests that rely on backend PID to run against cockroach Evan Cordell 2023-05-01 15:19:28 -04:00
  • 7f2bb9595f add BeforeClose to pgxpool.Pool Evan Cordell 2023-05-01 09:28:03 -04:00
  • d8b38b28be pgtype/hstore.go: Remove unused quoteHstore{Element,Replacer} Evan Jones 2023-05-12 09:07:21 -04:00
  • 2a86501e86 Fix hstore NULL versus empty Evan Jones 2023-05-10 22:33:34 -04:00
  • f59e8bf555 Fix: RowToStructByPos with embedded unexported struct Jack Christensen 2023-04-27 21:02:58 -05:00
  • c27b9b49ea support different bool string representations Lev Zakharov 2023-04-22 12:50:04 +03:00
  • 6defa2a607 Fix error when using BatchResults.Exec Jack Christensen 2023-04-20 21:43:59 -05:00
  • a23a423f55 Fix pipelineBatchResults.Exec() not returning error from ResultReader Jack Christensen 2023-04-20 21:19:41 -05:00
  • 09371981f9 Fix pipeline batch results not closing pipeline Jack Christensen 2023-04-20 20:58:04 -05:00
  • 67f2a41587 Fix scanning a table type into a struct Jack Christensen 2023-04-20 20:12:20 -05:00
  • 2cf1541bb9 wrap error Simon Paredes 2023-04-10 19:08:28 -04:00
  • 84eb2e460a Add KSQL on the 3rd party section of the README Vinícius Garcia 2023-04-09 00:56:28 -03:00
  • 847f888631 Fix scan array of record to pointer to slice of struct Jack Christensen 2023-04-08 14:39:48 -05:00
  • f72a147db3 skip cockroachdb Daniel Castro 2023-04-04 09:39:56 +00:00
  • 8b7c699b8f proper naming Daniel Castro 2023-04-03 20:28:17 +00:00
  • 215ffafc74 fix tests Daniel Castro 2023-04-03 19:48:19 +00:00
  • 5eeaa201d9 add extra tests Daniel Castro 2023-04-03 17:08:13 +00:00
  • be79f1c8f5 Allow batch callback function to override error Jack Christensen 2023-03-31 20:18:05 -05:00
  • ca022267db add tests cemre.mengu 2023-03-25 11:30:11 +03:00
  • 2a653b4a8d fix: handle null interface for json Cemre Mengu 2023-03-22 14:33:53 +03:00
  • 7af80ae8a6 Batch Query callback is called even when there is an error Jack Christensen 2023-03-25 10:19:08 -05:00
  • 7555c43033 add lax field to namedStructRowScanner Audi P. Risa P 2023-03-24 17:21:14 +07:00
  • 193bab416f add RowTo(AddrOf)StructByNameLax Audi P. Risa P 2023-03-24 17:11:49 +07:00
  • e9d64ec29d Use time.Equal instead of direct comparison Dmitry K 2023-03-22 13:32:53 +03:00
  • 2f1bba09c4 Guard deadline readings by mutex Dmitry K 2023-03-21 22:48:53 +03:00
  • d829073b2f Improve deadline simulation Dmitry K 2023-03-21 22:12:28 +03:00
  • 48da6435a5 Add deadline simulation Dmitry K 2023-03-21 21:57:37 +03:00
  • 34e3013153 Remove commented out atomic calls Dmitry K 2023-03-21 10:16:13 +03:00
  • 009a377028 Use mutex to guard entire SetBlockingMode call Dmitry K 2023-03-21 10:15:02 +03:00
  • e05abb83ec Better error messages Dmitry K 2023-03-19 15:19:55 +03:00
  • 89475c4c91 use atomic.Int32 instead of int + atomic calls Dmitry K 2023-03-19 15:05:46 +03:00
  • c3d62c8783 Small comment update 2 Dmitry K 2023-03-19 03:25:52 +03:00
  • 1298a835bc Small comment update Dmitry K 2023-03-19 03:23:49 +03:00
  • b2b4fbcf57 Set socket to non-blocking mode in Read, Flush and BufferReadUntilBlock operations Dmitry K 2023-03-19 03:18:56 +03:00
  • 3db7d1774e Set socket to non-blocking mode before doneChan is allocated to avoid that channel leaked in case when SetBlockingMode will return error Dmitry K 2023-03-18 22:17:08 +03:00
  • a83faa67f5 Small improvements Dmitry K 2023-03-18 22:08:47 +03:00
  • 8b5e8d9d89 Fix Windows non-blocking I/O for CopyFrom Dmitry K 2023-03-18 21:42:55 +03:00
  • 9ae852eb58 Fix typo in error message uint32 -> uint16 Sergej Brazdeikis 2023-03-11 16:15:52 +01:00
  • 19039e6dd1 fix build on 32-bit Windows Nicola Murino 2023-03-05 14:51:03 +01:00
  • 0dbb0a52ab Fix realNonblockingRead, set realNonblockingRead call error to nonblockReadErr Dmitry K 2023-02-26 00:14:33 +03:00
  • 087b8b2ba8 Try to make windows non-blocking I/O Dmitry K 2023-02-26 00:00:37 +03:00
  • c09ddaf440 Add Windows non-blocking IO Jack Christensen 2023-02-25 11:43:21 -06:00
  • 80eb6e1859 Remove sleeps in test Jack Christensen 2023-02-27 20:30:33 -06:00
  • 7ec6ee7b0a Release v5.3.1 Jack Christensen 2023-02-27 19:57:26 -06:00
  • 6105ca5073 Fix TestInternalNonBlockingWriteWithDeadline(t Jack Christensen 2023-02-25 17:02:55 -06:00
  • 8f46c75e73 Fix: fake non-blocking read adaptive wait time Jack Christensen 2023-02-25 16:45:34 -06:00
  • 38e09bda4c Fix *wrapSliceEncodePlan[T].Encode Jack Christensen 2023-02-21 20:55:57 -06:00
  • 9567297815 add mgx module reference to the readme file Ch. König 2023-02-17 13:58:36 +01:00
  • 42d327f660 Add text format jsonpath support Jack Christensen 2023-02-14 19:52:47 -06:00
  • f17c743c3c Unwatch at end of test Jack Christensen 2023-02-14 09:03:07 -06:00
  • a6ace8969b Fix: Prefer sql.Scanner before TryWrapScanPlanFuncs Jack Christensen 2023-02-13 20:35:51 -06:00
  • c2e278e5d4 simplify duplicate pgx registration guard Tomáš Procházka 2023-02-13 19:44:54 +01:00
  • c5daa3a814 Release v5.3.0 Jack Christensen 2023-02-11 09:15:31 -06:00
  • f5d2da7a19 Upgrade golang.org/x/crypto and golang.org/x/text Jack Christensen 2023-02-11 08:59:51 -06:00
  • b8262ace75 Upgrade to puddle v2.2.0 Jack Christensen 2023-02-11 08:57:19 -06:00
  • 2100a64dbe Fix broken benchmarks Jack Christensen 2023-02-10 20:26:18 -06:00
  • 4484831550 Prefer binary format for arrays Jack Christensen 2023-02-10 20:21:25 -06:00
  • 1f43e2e490 Fix text format array decoding with a string of "NULL" Jack Christensen 2023-02-10 19:59:03 -06:00
  • b707faea8f Fix flickering test TestBufferNonBlockingRead Jack Christensen 2023-02-10 19:40:09 -06:00
  • 255f16b00f Register pgx driver using major version Vitalii Solodilov 2023-02-10 21:38:25 +04:00
  • a47e836471 make TestPointerPointerStructScan easier to read Felix Röhrich 2023-02-10 00:22:13 +01:00
  • 5cd8468b99 replace erroneous reflect.New with reflect.Zero in TryWrapStructScanPlan Felix Röhrich 2023-02-09 23:41:04 +01:00
  • fa5fbed497 add filter for dropped attributes in getCompositeType Felix Röhrich 2023-02-07 00:51:30 +01:00
  • 190c05cc24 CI fix: Go versions are strings Jack Christensen 2023-02-04 07:32:13 -06:00
  • c875abea84 Fix encode []any to array Jack Christensen 2023-02-04 07:28:52 -06:00
  • 98543e0354 Update supported Go versions and add 1.20 to CI Jack Christensen 2023-02-04 07:01:03 -06:00
  • 32c29a6edd Update issue template to use pgx v5 Jack Christensen 2023-02-01 19:40:25 -06:00
  • 9963c32d4f Only count when bytes actually read Jack Christensen 2023-01-31 20:35:44 -06:00