2
0

Commit Graph

  • 7a2b93323c Prevent prematurely closing statements in database/sql Jack Christensen 2023-10-10 21:51:42 -05:00
  • 1484fec57f CI: add PostgreSQL 16 Nicola Murino 2023-10-09 10:16:19 +02:00
  • 3957163808 Update supported Go versions and add 1.21 to CI Nicola Murino 2023-10-08 12:11:13 +02:00
  • 7fc908a5f2 Do not call t.Fatal in goroutine Jack Christensen 2023-10-07 10:37:18 -05:00
  • 0f0d236599 database/sql prepared statement names are deterministically generated Jack Christensen 2023-10-07 10:16:25 -05:00
  • c6c50110db Spelling and grammar fixes Ville Skyttä 2023-10-04 20:35:28 +03:00
  • 91530db629 Fix typo in string.Cut refactor Jack Christensen 2023-10-07 09:20:28 -05:00
  • 24ed0e4257 Make use of strings.Cut Ville Skyttä 2023-10-04 20:41:55 +03:00
  • 163eb68866 Normalize timeout error when receiving pipeline results Jack Christensen 2023-09-30 08:50:40 -05:00
  • a61517a83b SendBatch should pass ctx to StartPipeline Jack Christensen 2023-09-28 20:00:02 -05:00
  • d93f31b8fa docs: GetPoolConnector Vincent Le Goff 2023-09-23 12:43:31 -04:00
  • cf72a00f52 Skip test of unsupported operation on CockroachDB Jack Christensen 2023-09-23 10:49:11 -05:00
  • c08cc72306 Improve QueryExecModeCacheDescribe and clarify documentation Jack Christensen 2023-09-23 10:35:42 -05:00
  • 7de53a958b stmtcache: Use deterministic, stable statement names Jack Christensen 2023-09-23 09:55:05 -05:00
  • bbe2653bc5 Prepare chooses statement name based on sql if name == sql Jack Christensen 2023-09-23 08:40:06 -05:00
  • 4e7aa59d64 Fix typos in docs Mochammad Hanif R 2023-09-21 15:35:17 +07:00
  • b301530a5f add doc for OpenDBFromPool Lev Zakharov 2023-09-08 12:54:10 +03:00
  • f42824cab3 update docs Lev Zakharov 2023-08-27 23:53:01 +03:00
  • 18856482c4 remove before/after acquire hooks Lev Zakharov 2023-08-27 23:51:40 +03:00
  • 639691c0ab add test for stdlib.OpenDBFromPool Lev Zakharov 2023-08-21 15:24:57 +03:00
  • 3e716c4b06 add example to the doc Lev Zakharov 2023-08-19 21:59:03 +03:00
  • 51ade172e5 refactor to use the same connection implementation Lev Zakharov 2023-08-19 21:42:28 +03:00
  • 3d4540aa1b add *sql.DB construction from *pgxpool.Pool Lev Zakharov 2023-08-18 19:01:26 +03:00
  • 389931396e No data result on error Julien GOTTELAND 2023-08-19 23:18:29 +02:00
  • 9ee7d29cf9 Add CollectExactlyOneRow function Julien GOTTELAND 2023-08-19 18:24:39 +02:00
  • a7375cc503 docs: Emphasise need to call rows.Err() after rows.Next() returns false Craig Ringer 2023-08-11 09:58:03 +12:00
  • d43bd349c1 Add batch insert benchmarks Jack Christensen 2023-08-08 18:44:31 -05:00
  • 5c6cf62b53 Fix off by one error in benchmark Jack Christensen 2023-08-08 18:38:34 -05:00
  • d17440d5c7 Add missed changelog entry and fix typo Jack Christensen 2023-08-05 08:36:45 -05:00
  • 4c60839c48 Release v5.4.3 Jack Christensen 2023-08-05 08:24:37 -05:00
  • e9087eacb8 Fix data race when pgproto3 trace is enabled during CopyFrom Jack Christensen 2023-08-05 07:30:59 -05:00
  • d626dfe94e TestConnConcurrency has been failing on CI Jack Christensen 2023-07-28 18:13:31 -05:00
  • 1a9b2a53a5 Fix staticcheck issues Jack Christensen 2023-07-28 18:04:26 -05:00
  • 8fb309c631 Use Go 1.20's link syntax for ParseConfig Alexey Palazhchenko 2023-07-27 17:47:11 +04:00
  • f4533dc906 optimize parseNumericString horpto 2023-07-24 17:23:55 +03:00
  • 4091eedf03 Check out code before setting up Go Jack Christensen 2023-07-22 17:13:30 -05:00
  • 87d771ef9c Prettier ci.yml Jack Christensen 2023-07-22 17:12:56 -05:00
  • 492283b90b zeronull.Timestamptz should use pgtype.Timestamptz Jack Christensen 2023-07-22 08:35:32 -05:00
  • e665f74c99 fix TestPoolBackgroundChecksMinConns and NewConnsCount James Hartig 2023-07-19 23:23:14 -04:00
  • f90e86fd8d Unskip TestConnCopyFromLarge for CockroachDB Rafi Shamim 2023-07-22 02:00:54 -04:00
  • 88b49d48f6 Disable TestPoolBackgroundChecksMinConns on Windows Jack Christensen 2023-07-19 21:20:26 -05:00
  • 2506cf3666 Make CI badge link Jack Christensen 2023-07-19 21:12:49 -05:00
  • d58fe2d53c Fix json scan of non-string pointer to pointer Jack Christensen 2023-07-19 20:54:05 -05:00
  • ef9e26a5d5 Check nil in defer Jack Christensen 2023-07-15 10:16:28 -05:00
  • 6703484a0d go.mod: run go mod tidy; removes golang.org/x/sys Evan Jones 2023-07-14 13:15:33 -04:00
  • c513e2e435 Fix: pgxpool: background health check cannot overflow pool Jack Christensen 2023-07-15 10:07:26 -05:00
  • f47f0cf823 connect_timeout is not obeyed for sslmode=allow|prefer smaher-edb 2023-07-13 16:08:22 +05:30
  • bd3e0d422c Fixes #1684 QCharArrayOID being defined with the wrong OID Christoph Engelbert (noctarius) 2023-07-13 15:12:05 +02:00
  • 2f6fcf8eb0 RowTo(AddrOf)StructByPos ignores fields with "-" db tag Jack Christensen 2023-07-15 09:39:20 -05:00
  • 038fc448c1 Release v5.4.2 Jack Christensen 2023-07-11 21:29:54 -05:00
  • 95aa87f2e8 exitPotentialWriteReadDeadlock stops bgReader Jack Christensen 2023-07-10 20:29:41 -05:00
  • f512b9688b Add PgConn.SyncConn Jack Christensen 2023-07-08 16:46:38 -05:00
  • 05440f9d3f Drastically increase allowed test times for potato CI Jack Christensen 2023-07-11 21:16:08 -05:00
  • e0c70201dc Skip json format test on CockroachDB Jack Christensen 2023-07-11 20:51:22 -05:00
  • 524f661136 Fix JSON encoding for pointer to structs implementing json.Marshaler Jack Christensen 2023-07-11 20:28:36 -05:00
  • 507a9e9ad3 Remove some now unused pgtype code Dan McGee 2023-07-10 08:58:12 -05:00
  • 0328d314ea Use bytes.Equal rather than bytes.Compare ==/!= 0 Dan McGee 2023-07-07 16:15:57 -05:00
  • cd46cdd450 Recreate the frontend in Construct with the new bgReader Jack Christensen 2023-07-08 11:39:39 -05:00
  • 2bf5a61401 fix: Do not use infinite timers Adrian-Stefan Mares 2023-07-04 12:53:41 +02:00
  • dc94db6b3d pgtype.Hstore: add a round-trip test for binary and text codecs Evan Jones 2023-06-29 12:01:57 -04:00
  • b68e7b2a68 README: Add kataras/pgx-golog to 3rd-party loggers Gerasimos (Makis) Maropoulos 2023-06-24 23:53:58 +03:00
  • 1dd69f86a1 Enable failover efforts when pg_hba.conf disallows non-ssl connections Brandon Kauffman 2023-06-23 17:21:20 -04:00
  • 8e6cf8f3a5 Add comment to test Jack Christensen 2023-06-20 08:49:33 -05:00
  • 91cba90e8d Fix: RowScanner errors are fatal to Rows Jack Christensen 2023-06-20 08:48:06 -05:00
  • 0d14b87140 Because CI runs on a potato Jack Christensen 2023-06-20 08:42:56 -05:00
  • e79efdacf9 CI: run tests in verbose mode Nicola Murino 2023-06-19 19:17:43 +02:00
  • 20a40120ed TestQueryEncodeError: crdb now returns the same error as postgres Nicola Murino 2023-06-19 19:09:36 +02:00
  • aa263d4352 CockroachDB tests: use a more recent version Nicola Murino 2023-06-19 19:05:54 +02:00
  • 7fccc604af stdlib: add a concurrency test Nicola Murino 2023-06-19 19:05:30 +02:00
  • 34f17a6048 Allow more time for test on slow CI Jack Christensen 2023-06-18 08:36:03 -05:00
  • 74ab538d2a Release v5.4.1 Jack Christensen 2023-06-18 08:27:21 -05:00
  • 7c386112e3 fix concurrency bug in pgtype.defaultMap (#1650) Lev Zakharov 2023-06-18 15:36:48 +03:00
  • 9a5ead9048 Add TxOptions.BeginQuery to allow overriding the default BEGIN query Jack Christensen 2023-06-18 06:43:17 -05:00
  • 737b5af236 Allow more time for test on slow CI Jack Christensen 2023-06-17 19:03:15 -05:00
  • f20070650f Make TestPoolBackgroundChecksMinConns less timing sensitive for CI Jack Christensen 2023-06-17 17:34:07 -05:00
  • e5db6a0467 pgtype array: Fix encoding of vtab \v Evan Jones 2023-06-17 11:25:41 -04:00
  • 5b7cc8e215 Make TestConnCheckConn less timing sensitive for CI Jack Christensen 2023-06-17 17:12:58 -05:00
  • bc8b1ca320 remove the single backing string optimization Evan Jones 2023-06-16 15:50:45 -04:00
  • 2de94187f5 hstore: Make binary parsing 2X faster Evan Jones 2023-06-15 11:24:42 -04:00
  • 07670dddca do not share the original input string Evan Jones 2023-06-16 15:37:40 -04:00
  • d48d36dc02 pgtype/hstore: Make text parsing about 6X faster Evan Jones 2023-06-09 15:14:49 -04:00
  • eb2807bda5 copy tests: test all supported modes Nicola Murino 2023-06-15 15:37:24 +02:00
  • b1f8055584 TestConnectWithFallback: increase timeout Nicola Murino 2023-06-15 15:24:03 +02:00
  • 461b9fa36e Release v5.4.0 Jack Christensen 2023-06-14 09:41:17 -05:00
  • 45520d5a11 Document pgtype.Map and pgtype.Type are immutable after registration Jack Christensen 2023-06-14 08:27:04 -05:00
  • 90f9aad67f add singleton pgtype.Map for default type mappings Lev Zakharov 2023-06-05 23:22:57 +03:00
  • 5f28621394 Add docs clarifying that FieldDescriptions may return nil Jack Christensen 2023-06-14 07:42:11 -05:00
  • c542df4fb4 added MarshalJSON and UnmarshalJSON to timestamp and added their tests (based on timestamptz implementation) Klaus 2023-06-12 01:36:15 +03:30
  • 34eddf9983 Increase slowWriteTimer to 15ms and document why Jack Christensen 2023-06-05 20:14:02 -05:00
  • 5d4f9018bf failed to write startup message error should be normalized Jack Christensen 2023-06-03 20:39:21 -05:00
  • 482e56a79b Fix race condition when CopyFrom is cancelled. Jack Christensen 2023-06-03 20:35:53 -05:00
  • 3ea2f57d8b Deprecate CheckConn in favor of Ping Jack Christensen 2023-06-03 18:54:58 -05:00
  • 26c79eb215 Handle writes that could deadlock with reads from the server Jack Christensen 2023-06-03 18:01:01 -05:00
  • 85136a8efe Restore pgx v4 style CopyFrom implementation Jack Christensen 2023-06-03 09:23:49 -05:00
  • 4410fc0a65 Remove nbconn Jack Christensen 2023-05-27 07:06:22 -05:00
  • 9cfdd21f1c feat: add reference to pgx-slog adapter Massimo Costa 2023-06-11 12:39:33 +02:00
  • 4d643b75f5 pgtype/hstore_test.go: Extend coverage of scan benchmark Evan Jones 2023-06-09 16:10:53 -04:00
  • 490f70fc5f Fix docs for QueryExecModeDescribeExec with connection poolers Jack Christensen 2023-06-11 08:26:02 -05:00
  • 1b68b5970e pgtype/hstore: Save 2 allocs in database/sql Scan implementation Evan Jones 2023-06-07 15:25:31 -04:00
  • ee04d4a74d pgtype/hstore: Avoid Postgres Mac OS X parsing bug Evan Jones 2023-06-07 11:58:05 -04:00