Bjoern Boschman
93aa469f16
#1026 added support for logging.LoggerAdapter
2020-01-07 13:46:21 +00:00
Daniele Varrazzo
46022cb162
Merge branch 'py38-win'
2019-12-30 17:11:21 +01:00
Daniele Varrazzo
f4144615f7
Blacklist docutils 0.15 to build docs
...
It crashes because of https://sourceforge.net/p/docutils/bugs/353/
2019-12-29 23:54:18 +01:00
Daniele Varrazzo
c3b35ba510
Merge branch 'fix-1019'
2019-12-10 11:09:27 +00:00
Daniele Varrazzo
c20c13c493
Fixed use of cursor_factory attribute in connecion subclasses
...
Close #1019
2019-12-09 11:11:39 +00:00
Daniele Varrazzo
5c02fdaa0d
Bump to next dev version
2019-12-09 11:10:58 +00:00
Daniele Varrazzo
9c32457c28
Added Python 3.8 build on Appveyor
2019-11-10 20:58:44 +00:00
Daniele Varrazzo
d70d3ee482
Bump to version 2.8.4
2019-10-20 01:25:21 +01:00
Daniele Varrazzo
16c07ba9c4
Mention the library versions packaged in the 2.8.4 wheel in the NEWS file
2019-10-20 01:19:47 +01:00
Daniele Varrazzo
cb7109dfa9
Merge branch 'fix-951'
2019-10-19 18:38:56 +01:00
Daniele Varrazzo
eb893e65f0
Mention fixing time.h include in NEWS
...
Mostly to remember why we did it.
2019-10-19 18:11:10 +01:00
Daniele Varrazzo
b0b09cbb24
Merge branch 'bugfix/940'
2019-10-19 18:04:02 +01:00
Daniele Varrazzo
63352d7da0
Mention bug 940 fixed in NEWS file
2019-10-19 18:02:32 +01:00
Jann Kleen
4097b4f2a0
Fix typo 'againts'
2019-10-19 17:58:37 +01:00
Daniele Varrazzo
8a18ff7699
Mention that with PgBouncer get_backend_pid() is not updated
...
Close #956
2019-10-19 17:57:31 +01:00
Daniele Varrazzo
850c585501
Added UltraJSON example
...
Close #972
2019-10-19 17:47:01 +01:00
Daniele Varrazzo
2f094841b2
Slow test is slow
2019-10-19 16:29:16 +01:00
Daniele Varrazzo
96156727c0
Allow parsing boolean both upper and lowercase
...
Reportedly useful on H2 databases.
Close #965
2019-10-19 16:28:10 +01:00
Daniele Varrazzo
5e9572aff8
Revert testing on Windows to libpq 11.4
...
Build broken by:
d993e0fb82
Error at:
https://ci.appveyor.com/project/psycopg/psycopg2/builds/28228647/job/490uo4qko6cguldl
2019-10-19 16:17:01 +01:00
Daniele Varrazzo
24a8d600bf
Test on appveyior with libpq 11.5 and openssl 1.1.1d
...
Will mention the new libraries' support after testing with wheels
2019-10-19 16:10:15 +02:00
Daniele Varrazzo
b2a09fb404
Merge branch 'pg12'
2019-10-19 16:09:41 +02:00
Daniele Varrazzo
b029bd80d4
Merge branch 'py38'
2019-10-19 16:08:06 +02:00
Daniele Varrazzo
500f438033
Support for Python 3.8 mentioned in news file
2019-10-19 16:07:35 +02:00
Daniele Varrazzo
ade98c1359
Added Py 3.8 support to appveyor build
...
VS 14 is the one to use: https://wiki.python.org/moin/WindowsCompilers
Note that appveyor doesn't have Py 3.8 yet though.
2019-10-19 16:01:13 +02:00
Daniele Varrazzo
38a411dc07
Test Python 3.4 on xenial
...
Trusty is no more required, and PG 12 is not available there.
2019-10-19 15:50:57 +02:00
Daniele Varrazzo
214a8efe64
Test PG 11 and 12 on travis
2019-10-19 15:26:20 +02:00
Daniele Varrazzo
d5c7ec7ae8
Added Postgres 12 errors
2019-10-19 15:22:48 +02:00
Daniele Varrazzo
8f11821c17
Use travis test config variable 0/1 instead of blank strings
...
Travis web interface doesn't allow anymore to set an empty string as
variable value.
2019-10-19 15:18:38 +02:00
Daniele Varrazzo
58654990d6
Install postgres from pgdg on travis if available there
2019-10-19 14:38:49 +02:00
Daniele Varrazzo
0dec435856
Dropped download url from package metadata
...
Not really useful anymore as PyPI is the official download place.
2019-10-19 14:09:44 +02:00
Jon Dufresne
4e13acdc88
Add Python 3.8 to the test matrix
...
Python 3.8 was released on October 14th, 2019.
- Added 'Programming Language :: Python :: 3.8' trove classifier.
- Added 'py38' to the tox test matrix.
- Added 'python: 3.8' to the Travis test matrix.
- Removed 'dist: xenial' from Travis configuration; it is now the
default.
- Removed 'dist: trusty' from Travis configuration; it is not longer
necessary.
- Removed 'sudo' from Travis configuration; it is deprecated.
https://docs.python.org/3.8/whatsnew/3.8.html
2019-10-18 18:29:59 -07:00
Daniele Varrazzo
f08019e356
Added decorator to clean up the adaptation mappings after tests
...
Many tests were doing it manually, some weren't doing it and resulted in
failure if run in different order.
Close #948
2019-09-04 18:17:51 +01:00
Daniele Varrazzo
33d3c074fa
Merge branch 'fix-961'
2019-09-04 13:22:16 +01:00
Daniele Varrazzo
80df0553a6
Fixed handling large Oid values
...
Oid is defined as unsigned 32. On some Python implementations (probably
the ones where maxint = 2 ** 31) this can cause int overflow for large
values (see #961 ). On my 64 box it doesn't seem the case.
Oid handling was sloppy here and there (messages, casts...): trying to
use uint everywhere, and added a couple of helper macros to treat Oid
consistently.
Close #961 .
2019-09-04 12:30:18 +01:00
Samuel Marks
a47fcdd508
[psycopg/pqpath.c] sys/time.h include for non mac & Windows
...
Signed-off-by: Samuel Marks <807580+SamuelMarks@users.noreply.github.com>
2019-08-05 15:07:43 +10:00
Alexander Kukushkin
9097a5b989
Don't advance replication cursor when the message wasn't confirmed
...
Fixes https://github.com/psycopg/psycopg2/issues/940
2019-07-05 08:37:24 +02:00
Daniele Varrazzo
4d10f1235f
Merge branch 'obscure-password-before-connect'
2019-06-24 12:14:29 +01:00
Daniele Varrazzo
6e972200a3
Mention ctrl-c swallowing fixed in news file
2019-06-24 12:13:47 +01:00
Daniele Varrazzo
3465ce282e
Function to obscure password moved to connection_int
2019-06-24 12:11:12 +01:00
Daniele Varrazzo
f40ad0f3ae
Obscure the dsn password before storing it into the connection
...
This avoids the need to juggle with exceptions in order to scrub the
password after a connection error, which may also swallow signals
(see #898 ).
2019-06-22 19:22:27 +01:00
Jon Dufresne
491296e0f5
Fix typo: "the the"
2019-06-21 11:26:47 +01:00
Daniele Varrazzo
ee056bc6e8
Bump to next dev version number
2019-06-21 11:26:29 +01:00
Kunal Marwaha
c32dbf357c
typo: remove 'a'
2019-06-19 00:32:54 +01:00
Daniele Varrazzo
bc65c636ae
Bump to version 2.8.3
2019-06-10 23:21:50 +01:00
Daniele Varrazzo
91a8962770
Added entry about how to ask questions
...
Also fixed mailing list link (although it doesn't seem there's a link to
a subscription page anymore, you have to go through the community
portal).
Close #930 .
2019-06-10 23:18:11 +01:00
Daniele Varrazzo
be8e1a2632
Making my linter happy
2019-06-07 18:20:36 +01:00
Daniele Varrazzo
2635f43788
Merge branch 'fix-namedtuple-cache'
2019-06-07 18:19:47 +01:00
Daniele Varrazzo
0578c1ab92
Mention #928 fixed
2019-06-07 18:18:48 +01:00
Changaco
842e383c0c
fix NamedTupleCursor._cached_make_nt
2019-06-04 14:30:30 +02:00
Changaco
527592a0a5
improve the NamedTupleCursor cache test
2019-06-04 13:45:37 +02:00