Daniele Varrazzo
ba1d9d7dc6
Merge branch 'execute-locks' into maint_2_7
2019-01-22 11:22:53 +00:00
Daniele Varrazzo
2f49f24c5a
Mention cursor locks cleanup in news file
2019-01-22 11:16:52 +00:00
Daniele Varrazzo
44999f9c63
Assign the PGresult to the cursor in the execute critical section
...
Possible cause of the issue reported in #346 (in concurrent
environments).
2019-01-22 11:12:50 +00:00
Daniele Varrazzo
32d1e0966d
Split pq_execute into sync/async parts
2019-01-22 11:12:44 +00:00
Daniele Varrazzo
2ad80da2f9
Don't call CLEARPGRES on the cursor state without holding the gil
...
There is a chance it is executed by two different threads resulting in
issue #384 .
I havent't found any other case that may lead to double free.
2019-01-22 11:12:36 +00:00
Daniele Varrazzo
e24c3416e9
Bump to next dev version number
2019-01-22 11:11:28 +00:00
Daniele Varrazzo
fbaad6c932
Version number bumped to 2.7.6.1
2018-11-10 23:46:17 +00:00
Daniele Varrazzo
74666b4cf3
Merge branch 'fix-binaries-2.7.6' into maint_2_7
2018-11-10 23:44:59 +00:00
Daniele Varrazzo
cbd976cd54
Mentioning binary packages fixes in news file
2018-11-10 18:40:32 +00:00
Daniele Varrazzo
2ef1bcc4af
Bump package version again to test building with an older osx image
...
Test packages to be release to check if #807 is fixed.
According to https://docs.travis-ci.com/user/reference/osx/#os-x-version
we built the packages with OS X 10.13 and Xcode 9.4.1. Because the error
was reported on 10.12, trying to build with Xcode 9.2 (the most recent
available on OSX 10.12).
[skip ci]
2018-11-10 16:36:08 +00:00
Daniele Varrazzo
5e0b109b26
Bump to a package version to test with newer libpq version
...
Test packages to be release to check if #808 is fixed.
[skip ci]
2018-11-10 12:17:12 +00:00
Daniele Varrazzo
6f664348e0
Fixed NEWS file after I actually re-read it for release.
2018-11-09 11:29:08 +00:00
Daniele Varrazzo
b219f535ce
Bump to next dev release
2018-11-09 11:24:54 +00:00
Daniele Varrazzo
3b84bc1b6e
Version number bumped to 2.7.6
2018-11-08 17:40:28 +00:00
Daniele Varrazzo
699a4bcb90
Declare Python 3.7 supported
...
I had problems running the test on travis in a way that make the
long-in-the-tooth Python 3.2 happy, however it was tested in the
test_i686 branch and it works fine.
2018-11-08 17:37:47 +00:00
Daniele Varrazzo
8fec446789
Fixed catching too broad exceptions
...
Also some flake8 cleanup in the lib dir.
2018-11-08 12:34:18 +00:00
Daniele Varrazzo
fcc4cd6734
Merge branch 'fix-788' into maint_2_7
2018-10-30 01:47:09 +00:00
Daniele Varrazzo
9d15104868
Fixed adaptation of lists of empty lists
...
...somehow. Postgres doesn't support them and converts them into a
simple empty array. However this is not really our concern: the syntax
we return is valid.
Close #788
2018-10-30 00:29:18 +00:00
Daniele Varrazzo
25e6d011ac
Merge branch 'fix-794' into maint_2_7
2018-10-23 01:56:17 +01:00
Daniele Varrazzo
eeef58b581
Don't barf on Composite passed to execute_values()
...
Close #794
2018-10-23 01:17:15 +01:00
Daniele Varrazzo
1de7d53fb1
errorcodes map update to PostgreSQL 11
2018-10-14 22:57:01 +01:00
Daniele Varrazzo
ba9f37022a
Merge branch 'fix-790' into maint_2_7
2018-10-12 23:31:34 +01:00
Daniele Varrazzo
ed6f32999f
Fixed refcount in connection's readonly and deferrable getters
...
Close #790
2018-10-12 22:37:50 +01:00
Daniele Varrazzo
74fd0ec063
Fixed farto in error checking assigning description values
...
Unnoticed since Feb 2011 \o/
2018-10-11 10:32:42 +01:00
Daniele Varrazzo
d251d51b34
Merge branch 'fix-copy-async-hangs' into maint_2_7
2018-10-10 23:56:05 +01:00
Daniele Varrazzo
5abbcb23ca
Fixed infinite loop in pq_get_last_result after COPY
...
There will be an error downstream but we have to get out of this
function first.
Close #781
2018-10-10 23:23:56 +01:00
Daniele Varrazzo
c97266921c
Merge branch 'fix-bsd' into maint_2_7
2018-09-07 23:57:03 +01:00
Daniele Varrazzo
5d52dae286
Mention FreeBSD build fixed in news file
2018-09-07 23:56:15 +01:00
Dmitry Marakasov
41deda1950
Remove obsolete and incorrect FreeBSD version condition
...
The FreeBSD-related condition which enables custom round() implementation is incorrect: one must include <sys/param.h> to get __FreeBSD_version value, and since it's not included here, the check succeeds while it shouldn't. Before it worked somehow, but since python 3.7 it results in conflicting declarations of round(). The condition is also no longer needed since FreeBSD 5.3 is unsupported for 12 years.
2018-09-07 23:55:08 +01:00
Daniel Hahler
fd6432977d
Improve doc for extras.wait_select
2018-09-05 16:45:55 +01:00
Andrew King
48d292c14c
Fix typo in install.rst
2018-09-05 16:43:55 +01:00
Jon Dufresne
85926bef5a
Update intersphinx URLs to point to Python 3 docs
...
Python 3 docs are more up to date and reflect the future of Python.
Removed unused py3 marker.
2018-09-05 16:43:54 +01:00
Daniele Varrazzo
3cdc0bc6e5
Merge branch 'fix-746' into maint_2_7
2018-07-24 21:13:36 +01:00
Daniele Varrazzo
84fb389b3b
Fixed compile error on windows
...
Because const int + 1 is not const, right???
Also fixed other occurrences of magic numbers and failed DRY around
PyOS_snprintf() calls.
2018-07-24 19:17:07 +01:00
Daniele Varrazzo
ba54f1194a
Bump tests for selective closure of named cursor to pg 8.2
...
Previous versions don't support the features as they don't have the
pg_cursors view. But they are too old to care.
2018-07-24 19:02:13 +01:00
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
a7f8c7fcde
Bump to next dev version number
2018-07-21 12:15:47 +01:00
Daniele Varrazzo
1b07d2e34d
Bump to version 2.7.5
2018-05-27 10:08:36 +01:00
Daniele Varrazzo
eafa0f9d55
Note the upgrade in wheel dependencies in NEWS file
2018-05-23 21:51:26 +01:00
Daniele Varrazzo
6bcea5da34
Added note adivising against depending on the -wheels package
2018-05-23 21:42:43 +01:00
Daniele Varrazzo
8195d83a8c
Dropped license paragraph applying to removed files
2018-05-23 21:19:06 +01:00
Jon Dufresne
4292da9b31
Update all pypi.python.org URLs to pypi.org
...
For details on the new PyPI, see the blog post:
https://pythoninsider.blogspot.ca/2018/04/new-pypi-launched-legacy-pypi-shutting.html
(with my addition after cherry-picking from master to maint_2_7)
2018-05-20 17:25:28 +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
85ec17a313
Merge branch 'fix-716' into maint_2_7
2018-05-20 17:05:25 +01:00
Daniele Varrazzo
6a3521badb
Merge branch 'fix-707' into maint_2_7
2018-05-20 17:05:14 +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
f2896fe512
Set minimal postgres version for intervalstyle test
2018-05-20 13:42:30 +01:00
Daniele Varrazzo
51027dbd5f
Raise NotSupportedError fetching iso_8601 intervals
...
Previously it would have failed parsing and resulted in ValueError
Close #707
2018-05-20 13:24:40 +01:00
Jon Dufresne
42efb739d8
Fix use of "async" in test_cursor.py
...
"async" will be a keyword starting with Python 3.7. On Python 3.6, use
of "async" causes a deprecation warning. Use the alias "async_" instead.
2018-05-18 11:18:24 +01:00
Daniele Varrazzo
dcadc4c15a
Merge remote-tracking branch 'nested-array-nulls' into maint_2_7
2018-05-18 11:18:07 +01:00