Commit Graph

3192 Commits (1819959d079a607f53fa6fa7659cbaa73894a679)

Author SHA1 Message Date
Jack Christensen 1819959d07 Merge branch 'master' into v5-dev 2022-08-06 06:41:33 -05:00
Jack Christensen 8f0c9557e4 Merge remote-tracking branch 'pgconn/master' into v5-dev 2022-08-06 06:33:10 -05:00
Jack Christensen 1f64122c42 Tweak changelog 2022-08-06 06:27:32 -05:00
Jack Christensen 5768a0c0bd Update changelog 2022-08-06 06:24:41 -05:00
Jack Christensen 7ce634d62b Ensure there is a timeout for background pool connections 2022-08-06 06:22:17 -05:00
Jack Christensen f3e04b28cc Go 1.19 go fmt 2022-08-06 06:20:50 -05:00
Jack Christensen 7ad36f386d Upgrade dependencies 2022-08-06 06:11:07 -05:00
Jack Christensen 4c048d40d8 Update changelog 2022-08-06 06:07:40 -05:00
Jack Christensen 5192d9acc1 Upgrade 3rd party dependencies 2022-08-06 06:00:03 -05:00
Jack Christensen 0a539a9d92 Upgrade pgproto3 2022-08-06 05:58:55 -05:00
Peter Feichtinger 3cb99532f5 pgxpool: Make BeginTx success case clearer 2022-08-04 20:22:57 -05:00
Jack Christensen 0eda0109ca Add Pool.Reset() 2022-07-30 12:22:29 -05:00
Jack Christensen 83670d675d Upgrade golang.org/x/crypto 2022-07-30 12:17:00 -05:00
Jack Christensen 957671a6ec Use puddle v2 2022-07-30 12:16:16 -05:00
Jack Christensen 033fc6f62a Rename pgxpool.NewConfig to NewWithConfig
https://github.com/jackc/pgx/issues/1264
2022-07-30 09:16:42 -05:00
Jack Christensen c3258b7f52 Fix scan pointer to pointer to nil slice
https://github.com/jackc/pgx/issues/1263
2022-07-30 09:10:50 -05:00
James Hartig 91c9e841e1 Ignore cancellation in puddle constructor
Fixes #1259
2022-07-30 07:54:16 -05:00
Jack Christensen 88079de700
Update issue templates 2022-07-30 07:46:10 -05:00
Jack Christensen 7f382f5190 Better fuzz testing and fix several bugs it found
Fix infinite loop in AuthenticationSASL.Decode
Fix panic in CommandComplete.Decode
Fix panic in DataRow.Decode
Fix panic in NotificationResponse.Decode
2022-07-23 16:13:06 -05:00
Jack Christensen 9d0f27bc4b Initial fuzz testing and fix
Initial fuzz testing of pgproto3 found a panic
2022-07-23 15:22:28 -05:00
Jack Christensen 2da0a11c52 Skip some examples on CockroachDB 2022-07-23 10:52:35 -05:00
Jack Christensen cb5ddcd6b6
Update issue templates 2022-07-23 10:43:26 -05:00
Jack Christensen ce378b4d9c Skip example on Cockroach DB 2022-07-23 10:21:01 -05:00
Jack Christensen 5cee04a026 Add child records docs and examples 2022-07-23 10:11:13 -05:00
Jack Christensen 4739f79fca More doc tweaks 2022-07-23 09:42:46 -05:00
Jack Christensen 3595561d9a More doc improvements 2022-07-23 09:29:25 -05:00
Jack Christensen e487ab0886 Docs should emphasize CollectRows and ForEachRow 2022-07-23 09:04:03 -05:00
Jack Christensen 83780b85b5 Remove pgx logging code moved to tracelog 2022-07-23 08:54:59 -05:00
Jack Christensen 68b7e12df2 Add examples 2022-07-23 08:52:01 -05:00
Jack Christensen 9a61fc250f Recommend CollectRows in ConnQuery docs 2022-07-23 08:31:37 -05:00
Jack Christensen 4087119005 Add Conn.Query example 2022-07-23 08:24:44 -05:00
Jack Christensen 178a84261f Improve Query docs 2022-07-23 07:53:02 -05:00
Jack Christensen cb48716c67 Update to new package path 2022-07-23 07:31:14 -05:00
Jack Christensen d433545662 Remove obsolete doc 2022-07-23 07:06:22 -05:00
Jack Christensen f07ad22f14 Update PgBouncer docs 2022-07-23 07:04:32 -05:00
Jack Christensen 7c81972938 Update line wrapping in docs 2022-07-23 07:04:23 -05:00
Jack Christensen fe0fb3b24d Clean up docs for new ParseConfigOptions feature 2022-07-20 06:28:08 -05:00
Jack Christensen 69b99209fb Run go fmt 2022-07-20 06:06:54 -05:00
yun.xu cdd2cc4124 EC-2198 change for sslpassword 2022-07-20 06:05:06 -05:00
Eric McCormack 7402796e02 Delete pgconn.iml 2022-07-20 06:05:06 -05:00
Eric McCormack c56b38c1f6 SSL password - changes based on community feedback 2022-07-20 06:05:06 -05:00
Eric McCormack 32ec44f726 Add support for SslPassword 2022-07-20 06:05:06 -05:00
Jack Christensen a5b4f888c2 Fix flickering test on CI
Ensure the conn reads everything expected before closing.
2022-07-16 18:16:19 -05:00
Jack Christensen b6f5cbd15e Add Conn to Rows interface
https://github.com/jackc/pgx/issues/1191
2022-07-16 17:56:24 -05:00
Jack Christensen 29254180ca Add callback functions to queued queries
Improve batch query ergonomics by allowing the code to handle the
results of a query to be right next to the query.
2022-07-16 17:46:47 -05:00
Jack Christensen 78875bb95a Add tracing support
Replaces existing logging support. Package tracelog provides adapter for
old style logging.

https://github.com/jackc/pgx/issues/1061
2022-07-16 12:27:10 -05:00
Jack Christensen 9201cc0341 ConnectConfig copies config 2022-07-16 08:58:43 -05:00
Jack Christensen 759e47dba3 Merge branch 'master' into v5-dev 2022-07-12 07:26:00 -05:00
Jack Christensen d5807f01ed Restore test from v4 2022-07-12 06:57:56 -05:00
Jack Christensen 93c79d7d41 Merge remote-tracking branch 'pgtype/master' into v5-dev 2022-07-12 06:52:59 -05:00