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.
v5.0.0-alpha.5
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
Jack Christensen
0f7b95c3a4
Merge remote-tracking branch 'pgconn/master' into v5-dev
2022-07-12 06:45:54 -05:00
Jack Christensen
3dc9d17757
Document new ResultReader.Values behavior
2022-07-11 21:17:45 -05:00
Jack Christensen
f0cd9cb867
Update CommandTag comment
2022-07-11 21:09:55 -05:00
Jack Christensen
aaacdbf3ea
Use string internally for CommandTag
2022-07-11 21:09:03 -05:00
Jack Christensen
786de2bda8
Use correct cache
2022-07-11 20:42:55 -05:00
Jack Christensen
224393188d
Fix InetCodec.DecodeValue
2022-07-11 08:07:23 -05:00
Jack Christensen
a059d1099f
pgxpool pools always connect lazily
...
Rename constructor functions now that they don't actually connect.
2022-07-10 14:58:30 -05:00
Jack Christensen
ca41a6a222
Update docs
2022-07-10 14:32:08 -05:00
Jack Christensen
e7eb8a3250
Use netip package for representing inet and cidr types
2022-07-10 14:31:55 -05:00
Jack Christensen
7974a102fc
Improve Scan error messages
2022-07-09 21:47:39 -05:00
Jack Christensen
b662ab6767
Better encode error message
2022-07-09 21:40:44 -05:00
Jack Christensen
731daea586
Skip test on CockroachDB
2022-07-09 21:08:15 -05:00