2005 Commits

Author SHA1 Message Date
Jack Christensen
1e68b39967 Update CHANGELOG.md for v4.18.0 2023-02-11 08:48:06 -06:00
Jack Christensen
dfaa30d68c Release v4.18.0 v4.18.0 2023-02-11 08:44:18 -06:00
Vitalii Solodilov
b14a5e65ad Register pgx driver using major version
Fixed: #1480
2023-02-10 19:18:35 -06:00
David Harju
d15cc95a8a Add fix for using a context with a value in BeforeConnect 2023-01-30 21:28:35 -06:00
Jack Christensen
3edc1b5bb7 Fix query sanitizer
...when query text has contains Unicode replacement character.
uft8.RuneError actually is a valid character.
2022-11-14 18:30:42 -06:00
Jack Christensen
f2b3210b75 Backport better Conn.Query docs
https://github.com/jackc/pgx/issues/1358
2022-10-29 10:11:36 -05:00
Jack Christensen
eb3f696664 Note that v5 is released 2022-09-17 10:38:15 -05:00
Jack Christensen
d42b399be3 Update changelog v4.17.2 2022-09-03 13:42:36 -05:00
Tom Möller
dfce986bb5 Fix panic when logging batch error 2022-09-03 09:02:23 -05:00
Jack Christensen
f5cdf0d383 Update changelog v4.17.1 2022-08-27 18:18:41 -05:00
Jack Christensen
72fe594942 Upgrade to puddle v1.3.0 2022-08-27 18:18:34 -05:00
Jack Christensen
bce26b85d1 Fix atomic alignment on 32-bit platforms
refs #1288
2022-08-27 09:23:17 -05:00
Jack Christensen
1d748d9bbf Failsafe timeout for background pool connections
Do not override existing connect timeout.
2022-08-13 09:50:37 -05:00
Jack Christensen
6871a0c4a6 Add v5 testing note to readme 2022-08-06 07:10:37 -05:00
Jack Christensen
5768a0c0bd Update changelog v4.17.0 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
Peter Feichtinger
3cb99532f5 pgxpool: Make BeginTx success case clearer 2022-08-04 20:22:57 -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
cb5ddcd6b6
Update issue templates 2022-07-23 10:43:26 -05:00
Gabor Szabad
396195466c Add logger func wrapper 2022-06-23 20:15:20 -05:00
James Hartig
a814153aeb pgxpool: health check should avoid going below minConns 2022-06-07 18:38:03 -05:00
Jack Christensen
37c3f157bc Add Hijack from v5 2022-06-02 20:04:08 -05:00
Jack Christensen
dc0ad04ff5 Fix batch logging tests 2022-05-12 19:10:02 -05:00
Stepan Rabotkin
4099b447b9 feat: add batch logging 2022-05-12 19:05:08 -05:00
Stepan Rabotkin
bfb19cd4f6 feat: add time duration to error query and copy 2022-05-12 19:05:08 -05:00
Jack Christensen
8b9b4055f3 Release v4.16.1 v4.16.1 2022-05-07 07:14:53 -05:00
Jack Christensen
644bd73dcc Upgrade to pgconn v1.12.1 2022-05-07 07:13:23 -05:00
Jack Christensen
7ceeea6fe6 Fix explicitly prepared statements with describe statement cache mode
fixes https://github.com/jackc/pgx/issues/1196
2022-04-28 07:58:24 -05:00
Jack Christensen
c6335a30d0 Add link to github.com/vgarvardt/pgx-google-uuid 2022-04-23 10:25:08 -05:00
Jack Christensen
8c1815e02e Release v4.16.0 v4.16.0 2022-04-21 20:15:18 -05:00
Jack Christensen
c74f3f058f Add link to https://github.com/otan/gopgkrb5 2022-04-21 20:08:28 -05:00
Jack Christensen
e012ea0bed Upgrade pgconn, pgtype, and pgproto3 2022-04-21 20:05:32 -05:00
Jack Christensen
49a860125f Try to pacify finicky timing test on CI 2022-04-21 19:52:34 -05:00
Jack Christensen
097b6aacb7 Add time to logging failed Exec
fixes #1189
2022-04-21 19:26:25 -05:00
Jack Christensen
bb8c52f7e8 Add doc regarding default pgxpool.Config.MaxConns
refs #1183
2022-04-11 18:49:11 -05:00
Jack Christensen
3ce50c079e Rename dbSavepoint to dbSimulatedNestedTx
https://github.com/jackc/pgx/issues/1161
2022-03-05 08:41:02 -06:00
Andrew Rusakow
a86ece025c Fix single line comment for line endings in mac when sanitizing. 2022-03-04 18:17:40 -06:00
Jack Christensen
b6b24f9e8a Allocate connRows on demand instead of preallocating in bulk
The 64 element preallocatedRows may be pinning memory from previous
queries.

See https://github.com/jackc/pgx/issues/1127
2022-02-19 11:51:25 -06:00
Jack Christensen
1e565b0d44 Handle stmtCache.Get error previously thought impossible
The statement cache is already prefilled, but it is possible for the
ctx to be canceled between when the statement is prepared and when the
statement is retrieved for use.

refs #1156
2022-02-19 11:28:39 -06:00
Jack Christensen
3650fc9f68 Remove comparison with alternatives from readme
lib/pq and go-pg are both in maintenance mode. No point in comparison.
2022-02-12 09:19:55 -06:00
Saimon Shaplygin
4ac1499060 ref: remove anchored code 2022-02-12 09:15:24 -06:00
Isabel Jimenez
71da600c3a exposing stdlib DB connector 2022-02-12 09:11:56 -06:00
Jack Christensen
2b7de82ef4 Release v4.15.0 v4.15.0 2022-02-07 11:03:06 -06:00
Jack Christensen
67401de1c3 Upgrade to pgconn v1.11.0 2022-02-07 10:55:29 -06:00
Jack Christensen
6fea8eba5e Upgrade to pgtype v1.10.0 2022-02-07 10:52:30 -06:00
Jack Christensen
c9eefd852a Upgrade to puddle v1.2.1 2022-02-07 10:48:30 -06:00
Jack Christensen
e8857f04a1 Make BatchResults.Close safe to be called multiple times
https://github.com/jackc/pgx/issues/1138
https://github.com/jackc/pgx/issues/938
2022-02-07 10:44:39 -06:00