2
0

Commit Graph

  • 6bc327b3ce Find fastest possible read time for fakeNonblockingReadWaitDuration Jack Christensen 2023-01-31 20:25:57 -06:00
  • f46d35610e Only set c.fakeNonblockingReadWaitDuration when it will be decreased Jack Christensen 2023-01-31 20:24:44 -06:00
  • cf78472ce5 Use unix build tag Jack Christensen 2023-01-31 20:10:05 -06:00
  • 766d2bba4f add UnmarshalJSON for pgtype Numeric Yumin Xia 2023-01-29 21:14:49 -08:00
  • 384a581e99 Avoid slightly overflowing the send copy buffer Jack Christensen 2023-01-30 20:59:54 -06:00
  • 898891a6ee Fake non-blocking read adapts its max wait time Jack Christensen 2023-01-28 09:35:52 -06:00
  • 7019ed1edf Fix tests for iobufpool optimization Jack Christensen 2023-01-28 09:30:12 -06:00
  • eee854fb06 iobufpool uses *[]byte instead of []byte to reduce allocations Jack Christensen 2023-01-28 08:02:49 -06:00
  • bc754291c1 Save memory on non blocking read path Jack Christensen 2023-01-27 20:53:30 -06:00
  • 2c7d86a543 Only create RawConn.Write callback once Jack Christensen 2023-01-27 20:34:21 -06:00
  • 42a47194a2 Memoize encode plans Jack Christensen 2023-01-27 20:19:06 -06:00
  • 7941518809 BufferReadUntilBlock should release buf when no bytes read Jack Christensen 2023-01-27 18:03:38 -06:00
  • f839d501a7 Apply gofmt -s Alexey Palazhchenko 2023-01-24 10:59:20 +04:00
  • f581584148 Use Go 1.19's lists for proper formatting Alexey Palazhchenko 2023-01-23 07:22:36 +04:00
  • e48e7a7189 Fix scanning json column into **string Jack Christensen 2023-01-20 18:38:11 -06:00
  • 516300aabf spelling: successfully, compatibility Mark Chambers 2023-01-15 13:23:03 +00:00
  • 62a7e19a04 func multiInsert returns nil when err != nil Mark Chambers 2023-01-15 12:56:48 +00:00
  • 672431c0bd Replace deprecated "io/ioutil" Mark Chambers 2023-01-15 12:43:07 +00:00
  • 7c0c7dc01e Remove unused test struct. Mark Chambers 2023-01-15 12:11:13 +00:00
  • fcec008a4c Update CI to test on Go 1.19 Jack Christensen 2023-01-14 09:37:11 -06:00
  • d993cfa8fd Use puddle with Go 1.19 atomics instead of uber atomics Jack Christensen 2023-01-14 09:31:38 -06:00
  • a95cfe5cc5 Fix connect with multiple hostnames when one can't be resolved Jack Christensen 2023-01-14 09:19:00 -06:00
  • c46d792c93 Numeric numberTextBytes() workaround... Mark Chambers 2023-01-04 01:12:11 +00:00
  • 37c6f97b11 pgtype.Numeric numberTextBytes() encoding bug Mark Chambers 2023-01-04 00:50:07 +00:00
  • 74f9b9f0a4 Bump github.com/jackc/pgservicefile to v0.0.0-20221227161230-091c0ba34f0a to get rid of vulnerable version of gopkg.in/yaml.v2 Alex Goncharov 2022-12-27 19:53:07 +03:00
  • 5177e1a8df Add stephenafamo/scan reference to README.md Stephen Afam-Osemene 2022-12-27 02:26:47 +01:00
  • d4fcd4a897 Support sql.Scanner on renamed base type Jack Christensen 2022-12-23 14:15:45 -06:00
  • c514b2e0c3 add pmx module reference to the readme file Wagner Camarao 2022-12-22 05:21:54 +10:00
  • e66ad1bcec Fix encode to json ignoring driver.Valuer Jack Christensen 2022-12-23 13:44:09 -06:00
  • c4ac6d810f Use DefaultQueryExecMode in CopyFrom Alejandro Do Nascimento Mora 2022-12-05 18:08:54 +01:00
  • 456a242f5c Unregistered OIDs are handled the same as unknown OIDs Jack Christensen 2022-12-23 13:11:28 -06:00
  • d737852654 Fix: driver.Value representation of bytea should be []byte not string Jack Christensen 2022-12-21 17:54:42 -06:00
  • 29ad306e47 Make MaxConnLifetimeJitter setting actually jitter Ben Weintraub 2022-12-19 09:51:04 -08:00
  • f42af35884 Add support for single dimensional arrays Jack Christensen 2022-12-20 20:11:04 -06:00
  • 11fa083a0d fix: Improve errors in batch modes Yevgeny Pats 2022-12-18 11:45:38 +02:00
  • 1ce3e0384a pgtype Int fix minimum error message. Mark Chambers 2022-12-16 20:18:49 +00:00
  • e58381ac94 Enable some CopyFrom tests for cockroachDB Alejandro Do Nascimento Mora 2022-12-12 14:43:56 +01:00
  • 279c3c0a20 Fix: json values work with sql.Scanner Jack Christensen 2022-12-06 19:41:25 -06:00
  • 17f8f7af63 Release v5.2.0 Jack Christensen 2022-12-05 20:41:55 -06:00
  • f0a73424b1 Fix: Scan uint and uint64 ScanNumeric Jack Christensen 2022-12-05 20:34:46 -06:00
  • 88b373f9ee Skipped multirange tests for postgres less than 14 version Vitalii Solodilov 2022-11-29 12:34:26 +07:00
  • 8e2de2fefa Conn.LoadType supports range and multirange types (#1393) Vitalii Solodilov 2022-11-28 15:18:31 +07:00
  • 24c53259f8 Fix typo Nazar Vovk 2022-11-28 01:35:23 +02:00
  • 8eb062f588 perf(tx): use strings.Builder to avoid the overhead of []byte -> string conversion ksco 2022-11-25 14:08:57 +08:00
  • fbfafb3edf Optimize 'beginSQL' runtime and memory allocations Petr Evdokimov 2022-11-21 13:50:08 +03:00
  • 174224fa07 The tracelog.TraceLog implements the pgx.PrepareTracer interface Vitalii Solodilov 2022-11-19 19:42:35 +07:00
  • 8ad1394f4c Update changelog for v5.1.1 Jack Christensen 2022-11-17 19:47:09 -06:00
  • 56633b3d51 removed unnecessary name argument from DeallocateAll Bodo Kaiser 2022-11-17 09:46:39 +01:00
  • ba4bbf92af Fix query sanitizer Jack Christensen 2022-11-14 18:22:57 -06:00
  • b4d2eae777 Update changelog Jack Christensen 2022-11-12 11:02:55 -06:00
  • 3520c2ea43 updated DeallocateAll to also reset client-side statement and description cache Bodo Kaiser 2022-11-12 17:04:13 +01:00
  • c94c47f584 added DeallocateAll to pgx.Conn to clear prepared statement cache Bodo Kaiser 2022-11-10 13:46:53 +01:00
  • 8678ed560f Update puddle to v2.1.2 Jack Christensen 2022-11-12 10:42:08 -06:00
  • 05924a9d6b Update CONTRIBUTING.md Jack Christensen 2022-11-12 10:42:02 -06:00
  • 2e9e2865f9 Added more docs and tests Jack Christensen 2022-11-12 10:13:20 -06:00
  • 14be51536b implement RowToStructByName and RowToAddrOfStructByName Pavlo Golub 2022-11-03 16:49:20 +01:00
  • 1376a2c0ed Update Go doc badge Jack Christensen 2022-11-12 09:23:07 -06:00
  • 932f676cfd Remove PG 10 from CI and add PG 15 to CI Jack Christensen 2022-11-12 09:19:51 -06:00
  • 5b6fb75669 Conn.LoadType supports domain types Jack Christensen 2022-11-12 08:10:46 -06:00
  • b265fedd75 Correct error message Jack Christensen 2022-11-12 07:06:54 -06:00
  • 871f14e43b Fix text decoding of dates with 5 digit years Jack Christensen 2022-11-12 07:01:11 -06:00
  • 071d1c9467 DateCodec.DecodeValue can return pgtype.InfinityModifier Jack Christensen 2022-11-12 06:27:41 -06:00
  • 29109487ec DateCodec.DecodeDatabaseSQLValue returns time.Time when possible Jack Christensen 2022-11-12 06:21:48 -06:00
  • daf570c752 Date text encoding pads year with 0 for at least 4 digits Jack Christensen 2022-11-12 06:14:04 -06:00
  • a86acf61e0 Fix encode ErrorResponse Jack Christensen 2022-11-11 18:20:16 -06:00
  • a968ce3437 Add typed nil behavior change note to changelog Jack Christensen 2022-11-03 21:24:44 -05:00
  • 39676004de Fix logger string truncation with UTF-8 Jack Christensen 2022-11-03 20:50:28 -05:00
  • 6f90866f58 Expose underlying pgconn GetSSLPassword support to pgx Jack Christensen 2022-11-03 20:09:52 -05:00
  • d8c04249d1 Give up on that test in CI Jack Christensen 2022-10-31 22:32:00 -05:00
  • 7fd064ab80 Disable upterm Jack Christensen 2022-10-31 22:28:50 -05:00
  • 0013f6c7ca Enable upterm Jack Christensen 2022-10-31 22:20:58 -05:00
  • 95498282bb more ci Jack Christensen 2022-10-31 22:10:37 -05:00
  • 6e77e0a09d Fight with CI some more Jack Christensen 2022-10-31 22:05:35 -05:00
  • 1f0fd66623 Go back to Ubuntu 20.04 on CI Jack Christensen 2022-10-31 21:57:38 -05:00
  • 45aeaed20a Remove unused pg-version matrix Jack Christensen 2022-10-31 21:28:58 -05:00
  • a2da398dff Partial CI fixes Jack Christensen 2022-10-31 21:24:57 -05:00
  • be419e25b4 Use des3 for certs in testing / CI Jack Christensen 2022-10-31 19:42:22 -05:00
  • dd07e24a6c sudo the CI Jack Christensen 2022-10-31 19:34:59 -05:00
  • 0920c79b02 Test SCRAM, sslmode=verify-full and client cert auth on CI Jack Christensen 2022-10-31 19:30:22 -05:00
  • 268af3903c Upgrade CI to ubuntu-22.04 Jack Christensen 2022-10-31 19:10:49 -05:00
  • 4d711aaa73 Remove v5-dev branch from CI Jack Christensen 2022-10-31 19:10:21 -05:00
  • dc85718658 Remove unused code from CI script Jack Christensen 2022-10-29 19:02:04 -05:00
  • 6b52e0b5e0 Contributing guide now includes instructions to test client ssl auth Jack Christensen 2022-10-29 19:00:29 -05:00
  • 9eaeb51e30 Fix CI PostgreSQL user permissions Jack Christensen 2022-10-29 17:55:13 -05:00
  • 8b2ac8c18f Fix unix domain socket tests on CI Jack Christensen 2022-10-29 17:45:13 -05:00
  • 05e9234c2e Upgrade setup-go and checkout actions to v3 Jack Christensen 2022-10-29 17:29:10 -05:00
  • 97d1012f42 Use testsetup/postgresql_setup.sql in CI Jack Christensen 2022-10-29 17:27:39 -05:00
  • 6bedfa7def Use testsetup/pg_hba.conf in CI Jack Christensen 2022-10-29 17:23:13 -05:00
  • 55b5067ddd Improve testing / contributing instructions Jack Christensen 2022-10-29 17:14:09 -05:00
  • 1ec3816a20 pgconn and pgproto use same environment variable for tests as pgx Jack Christensen 2022-10-29 13:23:25 -05:00
  • c9c166b8b2 Fix TestConnCopyFromDataWriteAfterErrorAndReturn always being skipped Jack Christensen 2022-10-29 13:17:52 -05:00
  • 9a207178f6 Fix TestConnCheckConn always being skipped Jack Christensen 2022-10-29 13:16:05 -05:00
  • 3feeddd9f1 Fix tests when PGUSER is different than OS user Jack Christensen 2022-10-29 13:12:03 -05:00
  • 72c89108ad Fix tests when PGPORT set to non-default value Jack Christensen 2022-10-29 13:06:53 -05:00
  • c130b2d74a Update CopyFrom documentation to be clearer Jack Christensen 2022-10-29 09:48:45 -05:00
  • 7d3b9c1e44 QueryRewriter.RewriteQuery now returns an error Jack Christensen 2022-10-29 09:32:35 -05:00
  • 6515e183ff Update doc example for pgx.ForEachRow Jack Christensen 2022-10-29 08:59:57 -05:00
  • e35041372d Remove mistakenly included replace directive in go.mod Jack Christensen 2022-10-29 08:56:49 -05:00
  • 6fabd8f5b1 Fix encoding uint64 larger than math.MaxInt64 into numeric Jack Christensen 2022-10-29 08:47:12 -05:00
  • c00fb5d2a1 Upgrade to puddle v2.0.1 Jack Christensen 2022-10-29 08:09:54 -05:00