Daniele Varrazzo
8aaf8f1902
Fixed idempotence check changing connection characteristics
2018-01-11 02:08:27 +00:00
Daniele Varrazzo
ba50548b30
'key' docs in getconn() improved
...
Fix #569 .
2018-01-11 00:16:49 +00:00
Daniele Varrazzo
f3685fe5ac
Fixed test in asian time zones
...
Fix #652
2018-01-11 08:53:57 +09:00
Daniele Varrazzo
7be099bd80
Merge branch 'mogrify-on-closed-cursor' into maint_2_7
2018-01-11 08:53:52 +09:00
Daniele Varrazzo
bf58f3b194
Merge branch 'datetime-macro-accessors' into maint_2_7
2018-01-10 23:26:48 +00:00
Daniele Varrazzo
9c5bf36791
'cursor.mogrify()' can be called on closed cursors
...
Fix #579 .
2018-01-10 23:26:11 +00:00
Daniele Varrazzo
1477482e59
Fixed pydatetime macros for Python 3.2
2018-01-10 23:12:01 +00:00
Daniele Varrazzo
54cd0c66af
pypi3 fix noted in the news file
2018-01-10 22:54:03 +00:00
Daniele Varrazzo
b99c8ab2de
Moved datatime compatibility macros with others
2018-01-10 22:53:56 +00:00
Glyph
632cfe0617
define a "polyfill" inline for python 2 compatibility
2018-01-10 22:53:43 +00:00
Glyph
ae227effe2
use accessor macros for pypy3 compatibility
2018-01-10 22:53:37 +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
b8a9469f45
Merge branch 'bug-633' into maint_2_7
2017-11-29 15:38:32 +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
5f0d411d11
Merge branch 'fix-libpq-version' into maint_2_7
2017-11-28 17:16:49 +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
afb42e7625
Merge remote-tracking branch 'jdufresne/py2'
2017-11-28 02:59:17 +00:00
Daniele Varrazzo
b4e658d29b
Merge remote-tracking branch 'jdufresne/license'
2017-11-28 02:39:54 +00:00
Jon Dufresne
296abf735e
Add some missing trove classifiers for general Python support
2017-11-27 07:30:50 -08:00
Jon Dufresne
5ddac80cec
Include license file in the generated wheel package
...
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:
https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-11-26 10:42:30 -08:00
Daniele Varrazzo
858bc3d42a
Merge pull request #616 from jdufresne/modern-exceptions
...
Use modern except syntax throughout project
2017-11-21 11:45:34 +00:00
Jon Dufresne
390e43fcb1
Use modern except syntax throughout project
...
The syntax "except Exception, exc:" is deprecated. All Python versions
supported by psycopg2 support the newer, modern syntax. Forward
compatible with future Python versions.
2017-11-20 20:00:35 -08:00
Daniele Varrazzo
7a2dd85caa
NEWS updated after last bugfix.
2017-11-16 16:07:34 +00:00
Federico Di Gregorio
13b0b9d3e3
Merge pull request #614 from fogzot/fix-613
...
Don't cast point arrays to float arrays (fixes : #613 )
2017-11-16 10:09:28 +01:00
Federico Di Gregorio
5983b96c55
Don't cast point arrays to float arrays ( fixes : #613 )
2017-11-16 10:07:27 +01:00
Daniele Varrazzo
d88d8f9619
Added PostgreSQL 10 in the list of supported servers
2017-11-06 18:38:22 +00:00
Daniele Varrazzo
9614e7241b
Further docs cleanup
...
Recent Sphinx versions seem overly aggressive in autodetecting python,
or I just didn't notice the errors, so be explicit in what language to
use with code examples.
2017-11-06 18:34:23 +00:00
Daniele Varrazzo
4f1505857b
Parameters passing docs improved
...
Every point has an example and all the example show wrong/correct. Nice
rhythm.
Among the improvements, added point saying explicitly "thou shall not
quote placeholders". Quoted placeholders will just fail except in the
most contrived cases (a statement raising an exception with all the
strings except with the attack ones...), and an example in the following
section explicitly notes "no quotes", but apparenty someone still thinks
this is not documented enough? (see issue #611 ) so let's just write it
plain and clear into the list of commandments.
2017-11-06 17:31:35 +00:00
Kevin Campbell
b804c092ac
Patch for issue #609 for MinTimeLoggingConnection
...
On Python3 MinTimeLoggingConnection raises an exception as it tries to
mix strings and bytes
2017-11-03 17:30:06 +08:00
Daniele Varrazzo
dfee199351
Dropped suggestion for --no-binary :all: to skip wheels
...
:all: applies to the entire file. --no-binary psycopg2 is the solution.
See issue #543
2017-10-27 12:34:00 +01:00
My Karlsson
f54783ae6e
Emulate timeradd and timersub on Solaris
...
Solaris does not have timeradd and timersub. Add solaris_support.c which
provides emulated versions of them on Solaris.
2017-10-26 20:21:30 +02:00
Daniele Varrazzo
46d8529dde
Merge branch 'libpq-10-wheels'
2017-10-24 11:52:02 +01:00
Daniele Varrazzo
980145eaee
Preparing release 2.7.3.2
...
Close #601 , close #602 .
2017-10-24 11:43:26 +01:00
Daniele Varrazzo
c6e90766e1
Merge branch 'libpq-10'
...
Fix #604
2017-10-24 11:31:26 +01:00
Daniele Varrazzo
f3f394ced9
Import recipe to build PG 10 libpq on win from wheel repos
...
Also build pg_config so the libpq version is correct at compile time
too.
2017-10-24 11:26:14 +01:00
Daniele Varrazzo
552e49a11d
Test building PG 10 using the solution provided by Jason Erickson
...
https://github.com/psycopg/psycopg2-wheels/pull/3/
2017-10-24 11:26:14 +01:00
Daniele Varrazzo
0d90c173fb
Test against PG 10.0 on Travis
2017-10-24 11:26:14 +01:00
Daniele Varrazzo
f1461d2d7e
Parse PG 10 error codes from final version
2017-10-19 02:28:52 +01:00
Daniele Varrazzo
6ee8b4c9aa
Bumping version to test libpq 10 wheel package
2017-10-18 22:25:42 +01:00
Daniele Varrazzo
582fd95986
Merge branch 'sphinx-1.6'
2017-10-18 21:58:08 +01:00
Daniele Varrazzo
e7587caee3
Dropped doc building warning
...
doctests have sure completely rotten however.
2017-10-18 21:57:17 +01:00
Daniele Varrazzo
4d68f6e414
Sphinx version do build docs updated to 1.6
2017-10-18 21:56:48 +01:00
Dmitry Shachnev
1ccb61fe18
Make dbapi_extension.py compatible with Sphinx 1.6
...
In Sphinx commit 1a821b89e9952fc2, the deprecated make_admonition()
function was removed. This commit updates the code to use the modern
API instead.
2017-10-12 13:10:41 +03:00
Daniele Varrazzo
3ec06b88f0
Construct proper human sentences to describe execute_values()
...
With bonus typos dropped.
2017-08-31 16:34:04 +01:00
Daniele Varrazzo
75198a46d4
Merge branch 'fix-wheel-libresolv'
2017-08-25 15:13:36 +01:00