2734 Commits

Author SHA1 Message Date
Jack Christensen
e9579e6249 Release v4.8.1 v4.8.1 2020-07-29 22:19:49 -05:00
Jack Christensen
cce1d671f4 Update pgconn to v1.6.4 2020-07-29 22:18:05 -05:00
Jack Christensen
f45b4d6b76 Release v1.6.4 2020-07-29 22:17:02 -05:00
Jack Christensen
44079b0d2c Fix panic on parsing DSN with trailing '='
Also correctly return error with leading '='.

fixes #47
2020-07-29 22:11:15 -05:00
Jack Christensen
4e4c4ea541 Fix deadlock on error after CommandComplete but before ReadyForQuery
See: https://github.com/jackc/pgx/issues/800
2020-07-29 21:47:23 -05:00
Jack Christensen
b8c5857880 Release v4.8.0 v4.8.0 2020-07-22 06:49:50 -05:00
Jack Christensen
d831ba712a Release v1.4.2 2020-07-22 06:46:27 -05:00
Jack Christensen
7673c8578d Update changelog 2020-07-22 06:45:10 -05:00
Jack Christensen
37c9edc242 Release v1.6.3 2020-07-22 06:43:39 -05:00
Yaz Saito
b939bc8d68 Fix encoding of a large composite data type
If encoding a field caused a buffer reallocation, the its length would be
written to a wrong place.
2020-07-21 23:52:20 -07:00
vahid-sohrabloo
271b0ac95e AppendCertsFromPEM doesn't have error and removes pgTLSArgs
AppendCertsFromPEM doesn't have error and removes pgTLSArgs because not used
2020-07-18 08:50:12 -05:00
Jack Christensen
4ebf1d2e0b Passthrough all parameters directly to pgx 2020-07-18 08:44:57 -05:00
Jack Christensen
42cbd0fa46 Release v4.7.2 v4.7.2 2020-07-14 12:07:51 -05:00
Jack Christensen
9295bf7483 Update changelog 2020-07-14 12:07:27 -05:00
Jack Christensen
47cc8bb43e Update pgconn and pgtype dependencies 2020-07-14 12:03:00 -05:00
Jack Christensen
7a3e774a52 Fix ArrayType DecodeBinary empty array breaks future reads 2020-07-14 11:58:10 -05:00
Jack Christensen
9b480f4785 Terminate connection when Commit fails and leaves tx open
refs #787
2020-07-13 22:49:35 -05:00
Jack Christensen
c8a9da960c Revert "stdlib: close connection on Tx commit or rollback that doesn't end Tx"
This reverts commit 2583134306da7d77427188acc1163aa636e28904.

This fix should actually be on the main Tx implementation.
2020-07-13 22:48:28 -05:00
Jack Christensen
2583134306 stdlib: close connection on Tx commit or rollback that doesn't end Tx
refs #787
2020-07-13 22:40:42 -05:00
Jack Christensen
12752ce5d6 Update pgservicefile 2020-07-13 19:34:45 -05:00
Jack Christensen
aa245bcc44
Merge pull request #47 from bakape/fix/struct-padding
optimise struct padding
2020-07-13 07:38:09 -05:00
Jack Christensen
5b498c4529 Link to https://github.com/georgysavva/scany
refs #788
2020-07-13 07:18:36 -05:00
bakape
193ecfec73
optimise struct padding 2020-07-12 13:52:32 +03:00
James Lawrence
5576567c19 support unformatted uuid hex string.
adds the abiility to support uuids in the form:
000102030405060708090a0b0c0d0e0f
2020-07-06 11:27:15 -04:00
Jack Christensen
11428bbc02 Document methods on Rows allowed to be called after Close() 2020-07-02 18:35:47 -05:00
Jack Christensen
eeda0368e6
Merge pull request #784 from zikaeroh/fix-column-perf
Cache column names in stdlib Rows
2020-06-29 14:40:23 -05:00
zikaeroh
84510c4590 Cache column names in stdlib Rows 2020-06-29 10:20:13 -07:00
Jack Christensen
3568b908c0 Release v4.7.1 v4.7.1 2020-06-29 10:43:18 -05:00
Jack Christensen
bf47a3d0a4 Fix stdlib decoding error with certain order and combination of fields
fixes #781
2020-06-29 09:38:53 -05:00
Jack Christensen
34cbb61138 Release v4.7.0 v4.7.0 2020-06-27 12:31:13 -05:00
Jack Christensen
8de0c48af0 Update dependencies 2020-06-27 12:30:58 -05:00
Jack Christensen
efe4704c57 Release v1.4.0 2020-06-27 12:25:17 -05:00
Jack Christensen
c4e2b4bda3 Update changelog 2020-06-27 12:24:46 -05:00
Jack Christensen
f8a5bc8273 Do not kill connection on transaction commit failure
fixes #780
2020-06-27 12:10:33 -05:00
Jack Christensen
503c2b445f Release v1.6.1 2020-06-27 11:51:30 -05:00
Jack Christensen
bd7ffdb480 Update golang.org/x/crypto dependency 2020-06-27 11:48:20 -05:00
Jack Christensen
65717779e4 Fix crash when PGSERVICE not found 2020-06-27 11:46:16 -05:00
Jack Christensen
82c2752e71 Update golang.org/x/text to 0.3.3
golang.org/x/text had a vulnerability:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-14040

pgconn does not appear to use the affected code path, but it is still
worth updating away from the vulnerable version.

fixes #44
2020-06-27 11:35:23 -05:00
Jack Christensen
473062b114 Remove NewConfig and add more docs for ParseConfig
refs #42
2020-06-27 11:29:21 -05:00
Jack Christensen
66a0b33655 Rerun typed_array_gen.sh 2020-06-24 08:40:34 -05:00
Andrei Tserakhau
4f940b06eb
Merge branch 'master' into fix-490 2020-06-21 14:23:49 +03:00
tserakhau
44f45c6c62 Use erb for jsonb array generation 2020-06-21 14:21:16 +03:00
Jack Christensen
41a185b611 Allow converting intervals with months and days to duration
It's a lossy conversion but so is numeric to float.

fixes #42
2020-06-20 13:26:06 -05:00
Jack Christensen
3d6abc3c5b
Merge pull request #41 from TrueLevelSA/feat/slice-of-pointers
Create pgtypes (and slices of) from pointers
2020-06-20 13:14:43 -05:00
Jack Christensen
7cf5101bb2 Add NewConfig()
refs #42
2020-06-20 12:59:15 -05:00
tserakhau
35d2873de1 Fix 490: Add jsonb arrays for pgx v4 2020-06-18 17:11:54 +03:00
megaturbo
bc07106f0e Add Code generated notice at the top of the file 2020-06-17 17:04:43 +02:00
megaturbo
066bc77610 Add support for slice of nullable types in array types 2020-06-17 17:04:43 +02:00
megaturbo
3105c6e706 Add support for nullable types in Value.Get implementations 2020-06-17 17:04:43 +02:00
Jack Christensen
6c16d6c00e
Merge pull request #43 from lukedirtwalker/redactPW
redact passwords in parse config errors
2020-06-13 07:19:15 -05:00