Commit Graph

320 Commits

Author SHA1 Message Date
Daniele Varrazzo
43e35db988 Close named cursor if exist, even if we didn't run execute
Close #746
2018-07-21 18:32:02 +01:00
Daniele Varrazzo
eafa0f9d55 Note the upgrade in wheel dependencies in NEWS file 2018-05-23 21:51:26 +01:00
Daniele Varrazzo
dbae84ee29 Added license to the docs
Includes other docs improvements, such as the ones proposed in #711.
2018-05-20 17:05:31 +01:00
Daniele Varrazzo
7aea6b846e Don't raise an exception closing an unused named cursor
Close #716
2018-05-20 14:05:58 +01:00
Daniele Varrazzo
dcadc4c15a Merge remote-tracking branch 'nested-array-nulls' into maint_2_7 2018-05-18 11:18:07 +01:00
Daniele Varrazzo
451dc8c5bf Fixed adaptation of arrays of arrays of nulls
Close #325, close #706.
2018-05-14 02:38:44 +01:00
Daniele Varrazzo
8ad39c2712 Allow non-ascii chars in namedtuple fields
They can be valid chars in Python 3. Or maybe not? In which case Python
will throw an exception, but that's fine.

Fix regression introduced fixing #211
2018-05-13 23:51:21 +01:00
Daniele Varrazzo
214600fcc0 Allow strings subclasses in ensure_bytes
Fix #679
2018-02-20 17:33:12 +00:00
Daniele Varrazzo
3772f88680 Report MSYS2 build probably fixed 2018-02-19 13:51:45 +00:00
Daniele Varrazzo
657c1ce6a9 Added Solaris 11 fix to news file 2018-02-19 11:47:12 +00:00
Daniele Varrazzo
8dc26b86fa Report Python 2.6 wheels no more available
[skip ci]
2018-01-29 12:56:50 +00:00
Daniele Varrazzo
6ba6cf27ed Merge branch 'openssl-1.0.2n' into maint_2_7 2018-01-29 02:57:14 +00:00
Daniele Varrazzo
e5da79fcc8 Convert fields names into valid Python identifiers in NamedTupleCursor
Close #211.
2018-01-29 02:41:44 +00:00
Daniele Varrazzo
a5762a4e4b Build using OpenSSL 1.0.2n 2018-01-29 01:58:37 +00:00
Daniele Varrazzo
06ea808599 Mention new wheel packages in news file
Close #543.
2018-01-29 01:38:03 +00:00
Daniele Varrazzo
8aaf8f1902 Fixed idempotence check changing connection characteristics 2018-01-11 02:08:27 +00:00
Daniele Varrazzo
7be099bd80 Merge branch 'mogrify-on-closed-cursor' into maint_2_7 2018-01-11 08:53:52 +09:00
Daniele Varrazzo
9c5bf36791 'cursor.mogrify()' can be called on closed cursors
Fix #579.
2018-01-10 23:26:11 +00:00
Daniele Varrazzo
54cd0c66af pypi3 fix noted in the news file 2018-01-10 22:54:03 +00:00
Daniele Varrazzo
72ed62dc8c Fixed NEWS file entries
- 2.6.3 has not been released (yet). Fixes for bug #420, bug #462 were
  relased in 2.7.
- Added missing report for bug #489 fixed in 2.7.
2017-12-01 16:24:59 +00:00
Daniele Varrazzo
a5fd594ea4 Collect rowcount in executemany even when discarding results
Closes #633.
2017-11-29 15:38:02 +00:00
Daniele Varrazzo
ad7fd52f30 Build and test packages with libpq 10.1 and OpenSSL 1.0.2m 2017-11-28 17:16:53 +00:00
Daniele Varrazzo
a5f0036a8e Fixed __libpq_version__ for Postgres >= 10.1
The version should be considered as 10.0.1; the number was generated as
10.1.0 instead.

Version number bumped to test building new wheels packages.

Fix #632.
2017-11-28 16:53:23 +00:00
Daniele Varrazzo
1619bae1e3 Merge branch 'python3_mintimeloggingconnection' into maint_2_7 2017-11-28 03:24:09 +00:00
Daniele Varrazzo
b4f066bd43 Mention MinTimeLoggingCursor fix in NEWS file 2017-11-28 03:22:53 +00:00
Daniele Varrazzo
74059a0dbe Merge branch 'solaris-support' into maint_2_7 2017-11-28 03:14:58 +00:00
Daniele Varrazzo
a1831ef498 Mention solaris support in NEWS
Close #532.
2017-11-28 03:13:25 +00:00
Daniele Varrazzo
7a2dd85caa NEWS updated after last bugfix. 2017-11-16 16:07:34 +00:00
Daniele Varrazzo
980145eaee Preparing release 2.7.3.2
Close #601, close #602.
2017-10-24 11:43:26 +01:00
Daniele Varrazzo
6ee8b4c9aa Bumping version to test libpq 10 wheel package 2017-10-18 22:25:42 +01:00
Daniele Varrazzo
c45e219387 Preparing release 2.7.3.1 to fix wheel packages 2017-08-25 15:12:12 +01:00
Daniele Varrazzo
775de754cf Added back timestamptz[] default cast
It was registered as side effect of an excessive definition that got
cleaned up in 338dbe70a6.

Looking at other removed redundant type oids, this was the only one
missing from the `string_types` map.

Close #578.
2017-07-24 14:23:36 +01:00
Daniele Varrazzo
1a97445471 Accept Composable in start_replication_expert()
Close #554
2017-06-17 03:30:44 +01:00
Daniele Varrazzo
991f0988ee Use an import style reported not broken on Python 3.6
Couldn't reproduce the issue but it has been documented in #550.
2017-06-17 01:51:37 +01:00
Daniele Varrazzo
2b5e131831 Merge branch 'fix-558' 2017-06-16 19:41:52 +01:00
Daniele Varrazzo
70a2d2238e Consider redshift interval supported after further tests 2017-06-16 19:39:18 +01:00
Daniele Varrazzo
789eb64f3a Added Json.prepare()
Close #562
2017-06-16 01:37:49 +01:00
Daniele Varrazzo
21ee8b62ef Merge branch 'mr-566' 2017-06-16 01:04:27 +01:00
Daniele Varrazzo
eef198ac5e Report issue #541 fixed in the NEWS file 2017-06-15 23:25:19 +01:00
Daniele Varrazzo
602c74faa6 Check return code from decoding the connection status
It fails on Py3 after receiving a SIGABRT. Because we don't handle it
here it will resurface later with nonsense such as:

    SystemError: <some function> returned a result with an error set

Close #551
2017-06-15 17:33:05 +01:00
Daniele Varrazzo
256910f8ff Updated docs about versions supported in errcodes 2017-06-05 12:34:17 +01:00
Daniele Varrazzo
6e5abf33f2 Merge branch 'fix-547' 2017-04-19 01:34:39 +01:00
Daniele Varrazzo
9d7ff405ee Added news entries for the previous 2 merge requests 2017-04-19 01:16:08 +01:00
Daniele Varrazzo
248e653c9e Fixed args parsing in ReplicationCursor.consume_stream()
Close #547.
2017-04-19 01:01:59 +01:00
Daniele Varrazzo
a66c34a6d0 Don't clobber a Python exception with an unknown error
Close #410
2017-04-05 14:54:07 +01:00
Daniele Varrazzo
7214c6652e Return objects with timezone parsing infinity timestamptz
Close #536.
2017-03-22 03:03:02 +00:00
Daniele Varrazzo
9f160fd820 Obscure the password on url dsn too
Note that we don't leak anymore the password length.

Fix #528
2017-03-16 03:53:40 +00:00
Daniele Varrazzo
3626e961f8 Reported bug #443 fixed *again*
Also see ticket #527.
2017-03-14 14:16:02 +00:00
Daniele Varrazzo
7c2333dd81 Connection state fixed noted in the news 2017-03-14 14:15:52 +00:00
Daniele Varrazzo
b075c7169c Report ticket 518 fixed
The fix is actually implemented in the openssl1 branch of
https://github.com/psycopg/psycopg2-wheels
2017-03-11 17:00:58 +00:00